summaryrefslogtreecommitdiff
path: root/init.d/40vcs-init
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-11 15:03:24 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-11 15:03:24 -0400
commit6398f205b74c158eecdf2ed6a057f77f64db0340 (patch)
treee0ad2676db44d647972ea7a3fbbccb46aaa3a798 /init.d/40vcs-init
parent93b0abfb666273774e3c418f31396b5b5ad1c043 (diff)
* Add support for bzr, thanks to Mark A. Hershberger. Closes: #470515
(Note that bzr does not support etckeeper's pre-commit hook.)
Diffstat (limited to 'init.d/40vcs-init')
-rwxr-xr-xinit.d/40vcs-init2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/40vcs-init b/init.d/40vcs-init
index e2677bc..dec33a4 100755
--- a/init.d/40vcs-init
+++ b/init.d/40vcs-init
@@ -8,4 +8,6 @@ elif [ "$VCS" = hg ] && [ ! -e .hg ]; then
hg init
echo "[web]" > .hg/hgrc
echo "description = $(hostname) /etc repository" >> .hg/hgrc
+elif [ "$VCS" = bzr ] && [ ! -e .bzr ]; then
+ bzr init
fi