summaryrefslogtreecommitdiff
path: root/Build/InstallDesktopFile.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-23 12:00:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-23 12:00:14 -0400
commite62a975aa3b2490fd5ebb2ccb9ea705bdd4509da (patch)
tree3c2b5327268d1ca7d3450ad5e86a09063ad3321e /Build/InstallDesktopFile.hs
parentbcf8a679b46ee86985e7c01c341f67a726e1539c (diff)
install in /Applications
Diffstat (limited to 'Build/InstallDesktopFile.hs')
-rw-r--r--Build/InstallDesktopFile.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/InstallDesktopFile.hs b/Build/InstallDesktopFile.hs
index 9c721f968..7d5e250f7 100644
--- a/Build/InstallDesktopFile.hs
+++ b/Build/InstallDesktopFile.hs
@@ -96,8 +96,7 @@ installOSXAppFile appdir appfile mcontent = do
let src = "ui-macos" </> appdir </> appfile
home <- myHomeDir
dest <- ifM isRoot
- -- no idea where to install as root
- ( return $ "/Library/git-annex" </> appdir </> appfile
+ ( return $ "/Applications" </> appdir </> appfile
, return $ home </> "Desktop" </> appdir </> appfile
)
content <- maybe (readFile src) return mcontent