mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-23 21:30: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
|
@ -543,13 +543,8 @@ installDependentPackages(){
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
|
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
|
||||||
else
|
else
|
||||||
if command -v debconf-apt-progress > /dev/null; then
|
# shellcheck disable=SC2086
|
||||||
# shellcheck disable=SC2086
|
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
|
||||||
$SUDO debconf-apt-progress --logfile "${APTLOGFILE}" -- ${PKG_INSTALL} "${TO_INSTALL[@]}"
|
|
||||||
else
|
|
||||||
# shellcheck disable=SC2086
|
|
||||||
$SUDO ${PKG_INSTALL} "${TO_INSTALL[@]}"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local FAILED=0
|
local FAILED=0
|
||||||
|
|
Loading…
Reference in a new issue