summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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