Add --error-on=any to apt updates
This commit is contained in:
parent
7db1608bcf
commit
b0d5f9c8c1
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
apt update
|
set -e
|
||||||
|
apt --error-on=any -y update
|
Loading…
Reference in New Issue
Block a user