Merge "Silence distro package install a bit"
This commit is contained in:
commit
5833076f39
@ -37,10 +37,10 @@ until $BINDEP -b -f $PACKAGES ; do
|
|||||||
|
|
||||||
# don't abort inside the loop, we check for the desired outcome
|
# don't abort inside the loop, we check for the desired outcome
|
||||||
set +e
|
set +e
|
||||||
if apt-get -v >/dev/null ; then
|
if apt-get -v >/dev/null 2>&1 ; then
|
||||||
sudo apt-get update
|
sudo apt-get -qq update
|
||||||
sudo PATH=/usr/sbin:/sbin:$PATH DEBIAN_FRONTEND=noninteractive \
|
sudo PATH=/usr/sbin:/sbin:$PATH DEBIAN_FRONTEND=noninteractive \
|
||||||
apt-get --option "Dpkg::Options::=--force-confold" \
|
apt-get -q --option "Dpkg::Options::=--force-confold" \
|
||||||
--assume-yes install `$BINDEP -b -f $PACKAGES`
|
--assume-yes install `$BINDEP -b -f $PACKAGES`
|
||||||
else
|
else
|
||||||
sudo PATH=/usr/sbin:/sbin:$PATH $YUM install -y \
|
sudo PATH=/usr/sbin:/sbin:$PATH $YUM install -y \
|
||||||
|
Loading…
Reference in New Issue
Block a user