2012-08-02 03:31:53 +00:00
|
|
|
{- Generating and installing a desktop menu entry file
|
2012-09-06 16:43:46 +00:00
|
|
|
- and a desktop autostart file. (And OSX equivilants.)
|
2012-08-02 00:49:02 +00:00
|
|
|
-
|
|
|
|
- Copyright 2012 Joey Hess <joey@kitenet.net>
|
|
|
|
-
|
|
|
|
- Licensed under the GNU GPL version 3 or higher.
|
|
|
|
-}
|
|
|
|
|
2012-09-06 16:58:46 +00:00
|
|
|
{-# LANGUAGE CPP #-}
|
|
|
|
|
2013-04-17 15:57:46 +00:00
|
|
|
module Main where
|
|
|
|
|
2013-04-17 16:02:44 +00:00
|
|
|
import Build.InstallDesktopFile
|
2012-09-06 16:58:46 +00:00
|
|
|
|
2012-09-26 20:50:04 +00:00
|
|
|
main :: IO ()
|
2012-08-02 01:04:25 +00:00
|
|
|
main = getArgs >>= go
|
2012-11-11 04:51:07 +00:00
|
|
|
where
|
|
|
|
go [] = error "specify git-annex command"
|
|
|
|
go (command:_) = install command
|