diff options
author | Nicolas Pouillard <nicolas.pouillard@gmail.com> | 2012-08-02 20:11:41 +0200 |
---|---|---|
committer | Nicolas Pouillard <nicolas.pouillard@gmail.com> | 2012-08-02 20:11:41 +0200 |
commit | e11946796d05a733290a47e9cead0b2a2e58d272 (patch) | |
tree | f6a8e5faca6b38de0f67bd8880acf9b533b3e25f /Build/InstallDesktopFile.hs | |
parent | 6b38227bad8c303470a5b29f50360cea0206d9a1 (diff) |
Fix imports and casing in Build.InstallDesktopFile
Diffstat (limited to 'Build/InstallDesktopFile.hs')
-rw-r--r-- | Build/InstallDesktopFile.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Build/InstallDesktopFile.hs b/Build/InstallDesktopFile.hs index ab2773bf1..891431ebe 100644 --- a/Build/InstallDesktopFile.hs +++ b/Build/InstallDesktopFile.hs @@ -10,8 +10,12 @@ module Build.InstallDesktopFile where import Utility.Exception import Utility.FreeDesktop +import Utility.Path +import Locations.UserConfig import Control.Applicative +import Control.Monad +import System.Directory import System.Environment import System.Posix.User @@ -48,7 +52,7 @@ writeDesktop command = do when (uid /= 0) $ do programfile <- programFile - createDirectoryIfMissing True (parentDir programFile) + createDirectoryIfMissing True (parentDir programfile) writeFile programfile command main = getArgs >>= go |