summaryrefslogtreecommitdiff
path: root/init.d/40vcs-init
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/40vcs-init')
-rwxr-xr-xinit.d/40vcs-init3
1 files changed, 3 insertions, 0 deletions
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