git-annex/Build/InstallDesktopFile.hs

20 lines
420 B
Haskell
Raw Normal View History

{- 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.)
-
- Copyright 2012 Joey Hess <id@joeyh.name>
-
- 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
main :: IO ()
main = getArgs >>= go
2012-11-11 00:51:07 -04:00
where
go [] = error "specify git-annex command"
go (command:_) = install command