From 3fdfa8f565bb01754ce34a8249e2705f17c86b6c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 25 Apr 2018 17:47:49 -0400 Subject: [PATCH] avoid installing linux file manager hooks when running in termux --- Assistant/Install.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 30b7506968..13e54fd7c3 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -106,7 +106,7 @@ installWrapper file content = do installFileManagerHooks :: FilePath -> IO () #ifdef linux_HOST_OS -installFileManagerHooks program = do +installFileManagerHooks program = unlessM osAndroid $ do let actions = ["get", "drop", "undo"] -- Gnome