Don't upgrade Debian packages

This should speed up tests a lot

Test: zip
pull/116/head
Michele Locati 2020-02-15 20:37:40 +01:00
parent 81fb9272c5
commit cd6fbbd684
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 1 additions and 2 deletions

View File

@ -649,7 +649,6 @@ buildRequiredPackageLists() {
;; ;;
debian) debian)
DEBIAN_FRONTEND=noninteractive apt-get update -q DEBIAN_FRONTEND=noninteractive apt-get update -q
DEBIAN_FRONTEND=noninteractive apt-get upgrade -qqy
;; ;;
esac esac
if test -n "$buildRequiredPackageLists_persistent"; then if test -n "$buildRequiredPackageLists_persistent"; then
@ -1324,7 +1323,7 @@ cleanup() {
case "$cleanup_distro" in case "$cleanup_distro" in
debian) debian)
printf '### RESTORING PREVIOUSLY INSTALLED PACKAGES ###\n' printf '### RESTORING PREVIOUSLY INSTALLED PACKAGES ###\n'
DEBIAN_FRONTEND=noninteractive apt-get install -qqy $PACKAGES_PREVIOUS DEBIAN_FRONTEND=noninteractive apt-get install --no-upgrade -qqy $PACKAGES_PREVIOUS
;; ;;
esac esac
fi fi