From 40c6067eb67f28d207cf57f8ba2fc549315827b5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Feb 2009 21:57:13 -0500 Subject: Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032 --- init.d/40vcs-init | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.d/40vcs-init') diff --git a/init.d/40vcs-init b/init.d/40vcs-init index bf2b03e..3c7a3bb 100755 --- a/init.d/40vcs-init +++ b/init.d/40vcs-init @@ -11,4 +11,7 @@ elif [ "$VCS" = hg ] && [ ! -e .hg ]; then elif [ "$VCS" = bzr ] && [ ! -e .bzr ]; then bzr init bzr nick "$(hostname) /etc repository" +elif [ "$VCS" = darcs ] && [ ! -e _darcs ]; then + darcs initialize + echo "$(hostname) /etc repository" > _darcs/prefs/motd fi -- cgit v1.2.3