pld-ftp-admin: shell/bashrc - check signatures also when moving to updates ...

glen glen at pld-linux.org
Thu Aug 28 16:31:11 CEST 2008


Author: glen                         Date: Thu Aug 28 14:31:11 2008 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- check signatures also when moving to updates tree (for ac)

---- Files affected:
pld-ftp-admin/shell:
   bashrc (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: pld-ftp-admin/shell/bashrc
diff -u pld-ftp-admin/shell/bashrc:1.9 pld-ftp-admin/shell/bashrc:1.10
--- pld-ftp-admin/shell/bashrc:1.9	Thu Aug 28 16:30:18 2008
+++ pld-ftp-admin/shell/bashrc	Thu Aug 28 16:31:06 2008
@@ -10,7 +10,7 @@
 	to="$2"
 	~/pld-ftp-admin/scripts/test-move.py "$@" || return $?
 	shift 2
-	if [ "$to" = "PLD" ]; then
+	if [ "$to" = "PLD" -o "$to" = "updates" ]; then
 		echo >&2 "Checking signatures"
 		testsignpkg "$@" || return $?
 	fi
@@ -21,7 +21,7 @@
 		shift 2
 		testsignpkg "$@" || return $?
 	}
-	if [ "$2" = "PLD" ]; then
+	if [ "$2" = "PLD" -o "$2" = "updates" ]; then
 	   	__wrap_signpkg "$@" || return $?
 	fi
 	~/pld-ftp-admin/scripts/move.py "$@" || return $?
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/shell/bashrc?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list