diff options
author | Joey Hess <joey@kitenet.net> | 2012-09-28 19:18:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-09-28 19:18:08 -0400 |
commit | f1eb0fbf53d51bc2bd83bca72297404ecc39fe57 (patch) | |
tree | 6c8df11867f2f4526fc995365cc655437e5a951c /Assistant | |
parent | edb563a78e51560e8f68d9d61a40f8c4a4963660 (diff) |
ifdef osx includes
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Install.hs | 6 | ||||
-rw-r--r-- | Assistant/Install/AutoStart.hs | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 9b950ea4b..1bf424cc9 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -14,8 +14,12 @@ import Assistant.Install.AutoStart import Assistant.Ssh import Locations.UserConfig import Utility.FileMode -import Utility.FreeDesktop + +#ifdef darwin_HOST_OS import Utility.OSX +#else +import Utility.FreeDesktop +#endif import System.Posix.Env diff --git a/Assistant/Install/AutoStart.hs b/Assistant/Install/AutoStart.hs index 85ce98287..13b4bc7ab 100644 --- a/Assistant/Install/AutoStart.hs +++ b/Assistant/Install/AutoStart.hs @@ -10,10 +10,11 @@ module Assistant.Install.AutoStart where import Utility.FreeDesktop +#ifdef darwin_HOST_OS import Utility.OSX import Utility.Path - import System.Directory +#endif installAutoStart :: FilePath -> FilePath -> IO () installAutoStart command file = do |