summaryrefslogtreecommitdiff
path: root/Assistant/Install
diff options
context:
space:
mode:
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