ifdef osx includes

This commit is contained in:
Joey Hess 2012-09-28 19:18:08 -04:00
parent e88e3ba85b
commit 2f86fdc36a
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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