git-annex/Build/InstallDesktopFile.hs

20 lines
421 B
Haskell
Raw Normal View History

{- Generating and installing a desktop menu entry file and icon,
- and a desktop autostart file. (And OSX equivalents.)
-
- Copyright 2012 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU AGPL version 3 or higher.
-}
2013-04-17 15:57:46 +00:00
module Main where
2013-04-24 15:08:35 +00:00
import Build.DesktopFile
import System.Environment
2012-09-06 16:58:46 +00:00
main :: IO ()
main = getArgs >>= go
2012-11-11 04:51:07 +00:00
where
go [] = error "specify git-annex command"
go (command:_) = install command