1
0
mirror of https://github.com/elisspace/rtinst.git synced 2026-08-29 15:44:06 +00:00

Update rtinst - add '-y' to aptitude upgrade

This commit is contained in:
V33m
2020-08-30 09:39:44 +02:00
committed by GitHub
parent b18b5718fe
commit 1f1ec0ad3a

View File

@@ -555,7 +555,7 @@ apt-get -qqy install aptitude
echo "Upgrading packages" | tee -a $logfile
export DEBIAN_FRONTEND=noninteractive
aptitude -q=5 upgrade >> $logfile 2>&1
aptitude -q=5 -y upgrade >> $logfile 2>&1
if ! [ $? = 0 ]; then
echo "Problem upgrading packages. Run 'aptitude upgrade' successfully and rerun the script" && exit
fi