Merge pull request #116 from mlocati/no-packages-upgrade

Don't upgrade Debian packages
pull/117/head
Michele Locati 2020-02-15 20:54:49 +01:00 committed by GitHub
commit 2fb8dd206f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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