summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-02 00:42:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-02 00:42:33 -0400
commit60da0d6ad28bff7c601ba631a8ec65030f940367 (patch)
tree56b137977c3f88c46e406859db8457a08fb80371 /Build
parent23fe661d37ceb6c7bf754e9dc8fd5dda89793b63 (diff)
full autostart support
git annex assistant --autostart will start separate daemons in each listed autostart repo running the webapp outside any git-annex repo will open it on the first listed autostart repo
Diffstat (limited to 'Build')
-rw-r--r--Build/InstallDesktopFile.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/InstallDesktopFile.hs b/Build/InstallDesktopFile.hs
index a08743f3d..3bc796315 100644
--- a/Build/InstallDesktopFile.hs
+++ b/Build/InstallDesktopFile.hs
@@ -46,6 +46,10 @@ writeDesktop command = do
writeDesktopMenuFile (autostart command) $
autoStartPath "git-annex" configdir
+ programfile <- programFile
+ createDirectoryIfMissing True (parentDir programFile)
+ writeFile programfile command
+
main = getArgs >>= go
where
go [] = error "specify git-annex command"