Add --error-on=any to apt updates

This commit is contained in:
Fierelier 2022-09-26 11:13:13 +02:00
parent 7db1608bcf
commit b0d5f9c8c1
3 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@ set -e
cat << EOF | debconf-set-selections cat << EOF | debconf-set-selections
firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true
EOF EOF
apt -y update apt --error-on=any -y update
apt -y upgrade apt -y upgrade
apt -y install $WDVN_PACKAGES_INTERACTIVE apt -y install $WDVN_PACKAGES_INTERACTIVE
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
set -e set -e
apt -y update apt --error-on=any -y update
apt -y upgrade apt -y upgrade

View File

@ -1,2 +1,3 @@
#!/bin/sh #!/bin/sh
apt update set -e
apt --error-on=any -y update