fix path to termux boot file

This commit is contained in:
Joey Hess 2018-04-25 17:51:50 -04:00
parent 3fdfa8f565
commit bed5271d3f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -62,7 +62,7 @@ ensureInstalled = ifM (isJust <$> getEnv "GIT_ANNEX_PACKAGE_INSTALL")
( do ( do
-- Integration with the Termux:Boot app. -- Integration with the Termux:Boot app.
home <- myHomeDir home <- myHomeDir
let bootfile = home </> ".termux" </> "boot" let bootfile = home </> ".termux" </> "boot" </> "git-annex"
unlessM (doesFileExist bootfile) $ do unlessM (doesFileExist bootfile) $ do
createDirectoryIfMissing True (takeDirectory bootfile) createDirectoryIfMissing True (takeDirectory bootfile)
writeFile bootfile "git-annex assistant --autostart" writeFile bootfile "git-annex assistant --autostart"