diff options
-rw-r--r-- | Assistant/Install.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 00d719bec..175888e9a 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -43,7 +43,10 @@ standaloneAppBase = getEnv "GIT_ANNEX_APP_BASE" - packaged apps, since it has to go into the user's home directory. -} ensureInstalled :: IO () -ensureInstalled = go =<< standaloneAppBase +ensureInstalled = ifM (isJust <$> getEnv "GIT_ANNEX_PACKAGE_INSTALL") + ( go Nothing + , go =<< standaloneAppBase + ) where go Nothing = installFileManagerHooks "git-annex" go (Just base) = do |