diff options
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 |