[Install] Add --force-yes argument to apt-get

Change-Id: I4f6157153acd6b3732fc1909ee5e1310b35c62ae
Closes-Bug: #1676798
This commit is contained in:
Vladimir Jigulin 2017-03-28 19:46:35 +04:00
parent 2a19a67c1e
commit 8404ca0be4

View File

@ -282,7 +282,7 @@ get_pkg_manager () {
if have_command apt-get; then
# Debian/Ubuntu
if [ "$ASKCONFIRMATION" -eq 0 ]; then
pkg_manager="apt-get install --yes"
pkg_manager="apt-get install --yes --force-yes"
else
pkg_manager="apt-get install"
fi