From c7b40d34237612380f3d05b22dafac4c26c949fb Mon Sep 17 00:00:00 2001 From: codehelp Date: Sun, 20 Jun 2010 16:41:23 +0000 Subject: [PATCH] Allow check-deps.sh to proceed when detecting errors. git-svn-id: http://emdebian.org/svn/current@7314 563faec7-e20c-0410-992a-a66f704d0ccd --- check-deps.sh | 3 +++ debian/changelog | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/check-deps.sh b/check-deps.sh index 74c59d6..3a55abd 100755 --- a/check-deps.sh +++ b/check-deps.sh @@ -1,4 +1,5 @@ #!/bin/sh + set -e # Copyright 2010 Neil Williams @@ -66,7 +67,9 @@ for pkg in $DEPS; do POLICY=`LC_ALL=C apt-cache policy $name 2>/dev/null|grep Candidate|cut -d':' -f2-3|tr -d ' '` if [ -n "$POLICY" ]; then if [ -n "$VERLIMIT" ]; then + set +e CHECK=`dpkg --compare-versions $POLICY "$VERCMP" $VERLIMIT ; echo $?` + set -e fi else ERR="$ERR $name " diff --git a/debian/changelog b/debian/changelog index 9a98688..474680f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ multistrap (2.1.6) unstable; urgency=low * [INTL:fr] French manpage translation update (Closes: #584679) + * Allow check-deps.sh to proceed when detecting errors. - -- Neil Williams Sat, 05 Jun 2010 18:16:52 +0100 + -- Neil Williams Sun, 20 Jun 2010 17:39:51 +0100 multistrap (2.1.5) unstable; urgency=low