diff --git a/build-image.sh b/build-image.sh index 9b5fb74b5..baf686065 100755 --- a/build-image.sh +++ b/build-image.sh @@ -108,7 +108,7 @@ rm -rf /var/cache/pacman/pkg # delete packages set +e -pacman --noconfirm -Rdd ${PACKAGES_TO_DELETE} 2>/dev/null +pacman --noconfirm -Rnsdd ${PACKAGES_TO_DELETE} set -e # install packages