Fix apt-get install

This commit is contained in:
ViViDboarder 2020-03-07 00:07:23 +00:00
parent 51f843716b
commit 26c12a737d

View File

@ -162,7 +162,7 @@ sudo_package () {
if [ "$PACKAGE_MANAGER" == 'apt-get' ]; then if [ "$PACKAGE_MANAGER" == 'apt-get' ]; then
# shellcheck disable=2086,2048 # shellcheck disable=2086,2048
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --allow $* DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $*
elif [ "$PACKAGE_MANAGER" == 'yum' ]; then elif [ "$PACKAGE_MANAGER" == 'yum' ]; then
# shellcheck disable=2086,2048 # shellcheck disable=2086,2048
sudo yum install -y $* sudo yum install -y $*