aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Install.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-20 18:48:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-20 18:48:05 -0400
commitee72d4ca76758aa9fcfff0b74d68d6d175d1e715 (patch)
tree592644fc31dca64fe676dfa40c7f4336c0eaafd3 /Assistant/Install.hs
parent81c6cea084a67974e7445550da854c69db6c6e6e (diff)
Install FDO desktop menu file when webapp is started in standalone mode.
Diffstat (limited to 'Assistant/Install.hs')
-rw-r--r--Assistant/Install.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs
index b5d3ca98d..56a29c2b3 100644
--- a/Assistant/Install.hs
+++ b/Assistant/Install.hs
@@ -11,6 +11,7 @@ module Assistant.Install where
import Assistant.Common
import Assistant.Install.AutoStart
+import Assistant.Install.Menu
import Assistant.Ssh
import Locations.UserConfig
import Utility.FileMode
@@ -49,6 +50,8 @@ ensureInstalled = go =<< standaloneAppBase
#ifdef darwin_HOST_OS
autostartfile <- userAutoStart osxAutoStartLabel
#else
+ installMenu program
+ =<< desktopMenuFilePath "git-annex" <$> userConfigDir
autostartfile <- autoStartPath "git-annex" <$> userConfigDir
#endif
installAutoStart program autostartfile