summaryrefslogtreecommitdiff
path: root/Assistant/Install
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-22 11:24:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-22 11:24:48 -0400
commit26e5eed58a0ecb3934e5a1b7a033b1fd778e9048 (patch)
tree8d26338f0d4bde9cadd55b3cb16c132478858d78 /Assistant/Install
parent2c1f3c9e820c1418e5bb6a9d6e927634ce6d2c30 (diff)
fix osx build
Diffstat (limited to 'Assistant/Install')
-rw-r--r--Assistant/Install/Menu.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Assistant/Install/Menu.hs b/Assistant/Install/Menu.hs
index 14c62245a..cb9b76ba6 100644
--- a/Assistant/Install/Menu.hs
+++ b/Assistant/Install/Menu.hs
@@ -12,8 +12,10 @@ module Assistant.Install.Menu where
import Utility.FreeDesktop
installMenu :: FilePath -> FilePath -> IO ()
-installMenu command file = do
-#ifndef darwin_HOST_OS
+installMenu command file =
+#ifdef darwin_HOST_OS
+ return ()
+#else
writeDesktopMenuFile (fdoDesktopMenu command) file
#endif