Merge pull request #1367 from MichaIng/patch-3

Remove debconf-apt-progress usage
This commit is contained in:
4s3ti 2021-10-24 18:03:51 +02:00 committed by GitHub
commit 71dc364418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -542,15 +542,10 @@ installDependentPackages(){
if [ "${runUnattended}" = 'true' ]; then if [ "${runUnattended}" = 'true' ]; then
# shellcheck disable=SC2086 # shellcheck disable=SC2086
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}" $SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
else
if command -v debconf-apt-progress > /dev/null; then
# shellcheck disable=SC2086
$SUDO debconf-apt-progress --logfile "${APTLOGFILE}" -- ${PKG_INSTALL} "${TO_INSTALL[@]}"
else else
# shellcheck disable=SC2086 # shellcheck disable=SC2086
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}" $SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
fi fi
fi
local FAILED=0 local FAILED=0