Skip to content

Commit

Permalink
Update rtinst - add '-y' to aptitude upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
V33m authored Aug 30, 2020
1 parent b18b571 commit 1f1ec0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rtinst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f1ec0a

Please sign in to comment.