[Install] Add --force-yes argument to apt-get
Change-Id: I4f6157153acd6b3732fc1909ee5e1310b35c62ae Closes-Bug: #1676798
This commit is contained in:
parent
2a19a67c1e
commit
8404ca0be4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user