[debian-edu-commits] debian-edu/ 01/08: Install expect as well, and make sure the packages are installed automatically in the init phase. Add some documentation.
Alexander Alemayhu
alexander at bitraf.no
Thu Aug 7 07:20:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
ccscanf-guest pushed a commit to annotated tag 0.412.0.edu.etch.1+svn35034
in repository debian-edu-config.
commit 260239511ea4c21b63eda103da4868896b8c4b4d
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Sun Jun 24 18:22:49 2007 +0000
Install expect as well, and make sure the packages are installed automatically in the init phase. Add some documentation.
---
sbin/debian-edu-etc-svk | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/sbin/debian-edu-etc-svk b/sbin/debian-edu-etc-svk
index b3557d7..fa58c8a 100755
--- a/sbin/debian-edu-etc-svk
+++ b/sbin/debian-edu-etc-svk
@@ -1,9 +1,15 @@
#!/bin/sh
#
-# Track changes in /etc/ to make it easy to undo changes or check modifications.
+# Track changes in /etc/ to make it easy to undo changes or check
+# modifications.
# Based on http://lists.debian.org/debian-devel/2005/02/msg00495.html
+# To use it, first run 'debian-edu-etc-svk init' once, to register
+# /etc/ in svk, next, run 'debian-edu-etc-svk update' regularly for
+# example from cron every hour, to commit changes in /etc/
+# automatically.
+
set -e
subdir=/etc
@@ -14,9 +20,8 @@ do_init() {
# fail early (assume set -e) if the directory is missing
cd $subdir
- # Install svk
- aptitude install svk
-
+ # Install svk and expect
+ aptitude install -y svk expect
# Initialize a depot in ~/.svk by running "svk depotmap --init".
# This is interactive, so use expect to answer the question
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list