From cd6fbbd684d9b6bccde49ce5af4449a0452f2656 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 15 Feb 2020 20:37:40 +0100 Subject: [PATCH] Don't upgrade Debian packages This should speed up tests a lot Test: zip --- install-php-extensions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index 482d8c0..4c3c70f 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -649,7 +649,6 @@ buildRequiredPackageLists() { ;; debian) DEBIAN_FRONTEND=noninteractive apt-get update -q - DEBIAN_FRONTEND=noninteractive apt-get upgrade -qqy ;; esac if test -n "$buildRequiredPackageLists_persistent"; then @@ -1324,7 +1323,7 @@ cleanup() { case "$cleanup_distro" in debian) 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 fi