install in /Applications
This commit is contained in:
parent
bcf8a679b4
commit
e62a975aa3
1 changed files with 1 additions and 2 deletions
|
@ -96,8 +96,7 @@ installOSXAppFile appdir appfile mcontent = do
|
||||||
let src = "ui-macos" </> appdir </> appfile
|
let src = "ui-macos" </> appdir </> appfile
|
||||||
home <- myHomeDir
|
home <- myHomeDir
|
||||||
dest <- ifM isRoot
|
dest <- ifM isRoot
|
||||||
-- no idea where to install as root
|
( return $ "/Applications" </> appdir </> appfile
|
||||||
( return $ "/Library/git-annex" </> appdir </> appfile
|
|
||||||
, return $ home </> "Desktop" </> appdir </> appfile
|
, return $ home </> "Desktop" </> appdir </> appfile
|
||||||
)
|
)
|
||||||
content <- maybe (readFile src) return mcontent
|
content <- maybe (readFile src) return mcontent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue