aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Install.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-09 20:50:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-09 20:50:41 -0400
commit68b3beefd87468204a8d8252d3487fae95b43f80 (patch)
treed43f937f543e7601e7952154fe434d9df148e36a /Assistant/Install.hs
parentd6922be2d1cac20b58750e1a76a3db684b8cca01 (diff)
linux standalone auto-install icons
Diffstat (limited to 'Assistant/Install.hs')
-rw-r--r--Assistant/Install.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs
index 3c7d09698..dee1b5be3 100644
--- a/Assistant/Install.hs
+++ b/Assistant/Install.hs
@@ -49,8 +49,9 @@ ensureInstalled = go =<< standaloneAppBase
#ifdef darwin_HOST_OS
autostartfile <- userAutoStart osxAutoStartLabel
#else
- installMenu program
- =<< desktopMenuFilePath "git-annex" <$> userDataDir
+ menufile <- desktopMenuFilePath "git-annex" <$> userDataDir
+ icondir <- iconDir <$> userDataDir
+ installMenu program menufile base icondir
autostartfile <- autoStartPath "git-annex" <$> userConfigDir
#endif
installAutoStart program autostartfile