diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-02-04 21:57:13 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-02-04 21:57:13 -0500 |
commit | 40c6067eb67f28d207cf57f8ba2fc549315827b5 (patch) | |
tree | 51739f8915e3ddadc5fa0815c56672eae6ba064f /init.d/40vcs-init | |
parent | bc5d04189542e6da934f7c901b0765891cc5c1d1 (diff) |
Support darcs. Thanks to Gian Piero Carrubba. Closes: #510032
Diffstat (limited to 'init.d/40vcs-init')
-rwxr-xr-x | init.d/40vcs-init | 3 |
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 |