summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-26 16:50:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-26 16:50:04 -0400
commitc9f341bd303a2d7b58eb0a7f6b596b7b1d7948bd (patch)
tree4f9097afb1cb69f1ba9653f6a90cb26ad0ddc090 /Setup.hs
parentcb1913e6cddfa090bda8b860d9b4129d83cf2c83 (diff)
make the standalone OSX app automatically install itself when run
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index 5db0ca7f7..7e070938f 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -58,6 +58,6 @@ installManpages copyDest verbosity pkg lbi =
installDesktopFile :: CopyDest -> Verbosity -> PackageDescription -> LocalBuildInfo -> IO ()
installDesktopFile copyDest verbosity pkg lbi =
- InstallDesktopFile.writeDesktop $ dstBinDir </> "git-annex"
+ InstallDesktopFile.install $ dstBinDir </> "git-annex"
where
dstBinDir = bindir $ absoluteInstallDirs pkg lbi copyDest