Fix install

This commit is contained in:
VirtuBox
2019-10-08 19:25:23 +02:00
parent 45607fb2d3
commit fb20aa47b2

View File

@@ -120,9 +120,9 @@ _run() {
###
if [ -z "$wo_travis" ]; then
if command_exists curl; then
apt-get update --allow-releaseinfo-change -qq
apt-get update -qq
else
apt-get update --allow-releaseinfo-change -qq && apt-get -y install curl -qq > /dev/null 2>&1
apt-get update -qq && apt-get -y install curl -qq > /dev/null 2>&1
fi
fi
@@ -225,7 +225,7 @@ wo_apt_mirror() {
python3 -m pip install apt-mirror-updater --upgrade
}; then
/usr/local/bin/apt-mirror-updater -a
apt-get update --allow-releaseinfo-change -qq
apt-get update -qq
fi
}