mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 11:20:15 +00:00
Merge pull request #1367 from MichaIng/patch-3
Remove debconf-apt-progress usage
This commit is contained in:
commit
71dc364418
1 changed files with 2 additions and 7 deletions
|
@ -542,15 +542,10 @@ installDependentPackages(){
|
|||
if [ "${runUnattended}" = 'true' ]; then
|
||||
# shellcheck disable=SC2086
|
||||
$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
|
||||
# shellcheck disable=SC2086
|
||||
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
|
||||
fi
|
||||
fi
|
||||
|
||||
local FAILED=0
|
||||
|
||||
|
|
Loading…
Reference in a new issue