summaryrefslogtreecommitdiff
path: root/Build/DesktopFile.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 /Build/DesktopFile.hs
parent81c6cea084a67974e7445550da854c69db6c6e6e (diff)
Install FDO desktop menu file when webapp is started in standalone mode.
Diffstat (limited to 'Build/DesktopFile.hs')
-rw-r--r--Build/DesktopFile.hs18
1 files changed, 0 insertions, 18 deletions
diff --git a/Build/DesktopFile.hs b/Build/DesktopFile.hs
index cd7031fe2..abb5788a8 100644
--- a/Build/DesktopFile.hs
+++ b/Build/DesktopFile.hs
@@ -26,24 +26,6 @@ import System.Posix.Files
import System.FilePath
import Data.Maybe
-{- The command can be either just "git-annex", or the full path to use
- - to run it. -}
-desktop :: FilePath -> DesktopEntry
-desktop command = genDesktopEntry
- "Git Annex"
- "Track and sync the files in your Git Annex"
- False
- (command ++ " webapp")
- ["Network", "FileTransfer"]
-
-autostart :: FilePath -> DesktopEntry
-autostart command = genDesktopEntry
- "Git Annex Assistant"
- "Autostart"
- False
- (command ++ " assistant --autostart")
- []
-
systemwideInstall :: IO Bool
systemwideInstall = isroot <||> destdirset
where