git-annex/Build/InstallDesktopFile.hs
2013-04-17 12:02:44 -04:00

19 lines
415 B
Haskell

{- Generating and installing a desktop menu entry file
- and a desktop autostart file. (And OSX equivilants.)
-
- Copyright 2012 Joey Hess <joey@kitenet.net>
-
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE CPP #-}
module Main where
import Build.InstallDesktopFile
main :: IO ()
main = getArgs >>= go
where
go [] = error "specify git-annex command"
go (command:_) = install command