mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
'debconf-apt-progress' seems to be broken on ubuntu
This commit is contained in:
parent
041d410bc4
commit
18853e672e
1 changed files with 7 additions and 1 deletions
|
@ -474,7 +474,13 @@ install_dependent_packages() {
|
|||
echo iptables-persistent iptables-persistent/autosave_v6 boolean false | $SUDO debconf-set-selections
|
||||
|
||||
if command -v debconf-apt-progress &> /dev/null; then
|
||||
$SUDO debconf-apt-progress -- ${PKG_INSTALL} "${argArray1[@]}"
|
||||
case ${PLAT} in
|
||||
Ubuntu)
|
||||
# ATM debconf-apt-progress seems broken in ubuntu - 2017.12.20
|
||||
$SUDO ${PKG_INSTALL} "${argArray1[@]}";;
|
||||
*)
|
||||
$SUDO debconf-apt-progress -- ${PKG_INSTALL} "${argArray1[@]}";;
|
||||
esac
|
||||
else
|
||||
for i in "${argArray1[@]}"; do
|
||||
echo -n "::: Checking for $i..."
|
||||
|
|
Loading…
Reference in a new issue