bundles/apt: more output for upgrade-and-reboot
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-10-23 06:26:19 +02:00
parent 2bc659af5f
commit d76f69ab49
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -34,11 +34,19 @@ trap 'rm -f "$softlockdir"/UNATTENDED' EXIT
apt-get update
ret=$?
if (( $ret != 0 ))
then
echo "apt-get update exited $ret"
exit 1
fi
DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-confdef dist-upgrade
ret=$?
if (( $ret != 0 ))
then
echo "apt-get dist-upgrade exited $ret"
exit 1
fi