From c083f6c7fc979dc0a9cb45e687e56360621d4cf5 Mon Sep 17 00:00:00 2001 From: dancer Date: Sun, 4 Dec 2005 04:36:28 +0000 Subject: * Bug fix: "/usr/share/doc/pbuilder/examples/B90linda missing --allow-unauthenticated option", thanks to qfunk (Closes: #340715). - fixed other scripts to use --allow-unauthenticated option rather than --force-yes. * debconf compatibility level 4 --- examples/B90linda | 2 +- examples/B91dpkg-i | 4 ++-- examples/B92test-pkg | 2 +- examples/execute_installtest.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/B90linda b/examples/B90linda index 8720721..a992a57 100644 --- a/examples/B90linda +++ b/examples/B90linda @@ -1,4 +1,4 @@ #!/bin/bash # run linda on generated deb files -apt-get install -y linda +apt-get install -y --allow-unauthenticated linda linda /tmp/buildd/*.deb diff --git a/examples/B91dpkg-i b/examples/B91dpkg-i index caa7fcf..63e5d11 100644 --- a/examples/B91dpkg-i +++ b/examples/B91dpkg-i @@ -16,11 +16,11 @@ dpkg -i /tmp/buildd/*.deb dpkg --purge $PKGNAMES # upgrade-remove check -apt-get install $PKGNAMES || true +apt-get install -y --allow-unauthenticated $PKGNAMES || true dpkg -i /tmp/buildd/*.deb dpkg --remove $PKGNAMES # upgrade-purge check -apt-get install $PKGNAMES || true +apt-get install -y --allow-unauthenticated $PKGNAMES || true dpkg -i /tmp/buildd/*.deb dpkg --purge $PKGNAMES diff --git a/examples/B92test-pkg b/examples/B92test-pkg index 5a5dee2..a678660 100644 --- a/examples/B92test-pkg +++ b/examples/B92test-pkg @@ -5,7 +5,7 @@ set -e echo "Installing the prerequisites" for PKG in $(ls /tmp/buildd/*.deb | sed -e's,.*/,,;s,_.*,,' ); do - apt-get install -y "$PKG" + apt-get install -y --allow-unauthenticated "$PKG" apt-get remove -y "$PKG" done diff --git a/examples/execute_installtest.sh b/examples/execute_installtest.sh index de68d34..35b72b9 100755 --- a/examples/execute_installtest.sh +++ b/examples/execute_installtest.sh @@ -19,7 +19,7 @@ INSTALLTESTPID=$$ ( sleep 1h ; kill $INSTALLTESTPID ) & KILLPID=$! -apt-get install -y "$1" < /dev/null +apt-get install -y --allow-unauthenticated "$1" < /dev/null kill $KILLPID -- cgit v1.2.3