[debian-edu-commits] debian-edu/ 03/09: Improve the update handling some more.

Alexander Alemayhu alexander at bitraf.no
Thu Aug 7 07:19:53 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+svn35006
in repository debian-edu-config.

commit f7250690effab474cd48f2ec12eea45c63df07df
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sat Jun 23 16:23:18 2007 +0000

    Improve the update handling some more.
---
 sbin/debian-edu-etc-svk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sbin/debian-edu-etc-svk b/sbin/debian-edu-etc-svk
index 42aba5d..ea8a021 100755
--- a/sbin/debian-edu-etc-svk
+++ b/sbin/debian-edu-etc-svk
@@ -53,6 +53,10 @@ do_init() {
 do_update() {
     cd $subdir
     if [ "$(svk status)" ] ; then
+	delfiles="$(svk status|grep '^!'|awk '{print $2}')"
+	[ "$delfiles" ] && svk rm $delfiles
+	newfiles="$(svk status|grep '^?'|awk '{print $2}')"
+	[ "$newfiles" ] && svk add $newfiles
 	svk commit -m "Recent changes."
     fi
 }

-- 
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