2013-07-09 19:56:30 -04:00
|
|
|
{- Generating and installing a desktop menu entry file and icon,
|
2012-09-06 12:43:46 -04:00
|
|
|
- and a desktop autostart file. (And OSX equivilants.)
|
2012-08-01 20:49:02 -04:00
|
|
|
-
|
2015-01-21 12:50:09 -04:00
|
|
|
- Copyright 2012 Joey Hess <id@joeyh.name>
|
2012-08-01 20:49:02 -04:00
|
|
|
-
|
|
|
|
- Licensed under the GNU GPL version 3 or higher.
|
|
|
|
-}
|
|
|
|
|
2013-04-17 11:57:46 -04:00
|
|
|
module Main where
|
|
|
|
|
2013-04-24 11:08:35 -04:00
|
|
|
import Build.DesktopFile
|
|
|
|
|
|
|
|
import System.Environment
|
2012-09-06 12:58:46 -04:00
|
|
|
|
2012-09-26 16:50:04 -04:00
|
|
|
main :: IO ()
|
2012-08-01 21:04:25 -04:00
|
|
|
main = getArgs >>= go
|
2012-11-11 00:51:07 -04:00
|
|
|
where
|
|
|
|
go [] = error "specify git-annex command"
|
|
|
|
go (command:_) = install command
|