Fix install
This commit is contained in:
5
install
5
install
@@ -120,9 +120,9 @@ _run() {
|
|||||||
###
|
###
|
||||||
if [ -z "$wo_travis" ]; then
|
if [ -z "$wo_travis" ]; then
|
||||||
if command_exists curl; then
|
if command_exists curl; then
|
||||||
apt-get update -qq
|
apt-get update --allow-releaseinfo-change -qq
|
||||||
else
|
else
|
||||||
apt-get update -qq && apt-get -y install curl -qq > /dev/null 2>&1
|
apt-get update --allow-releaseinfo-change -qq && apt-get -y install curl -qq > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -225,6 +225,7 @@ wo_apt_mirror() {
|
|||||||
python3 -m pip install apt-mirror-updater --upgrade
|
python3 -m pip install apt-mirror-updater --upgrade
|
||||||
}; then
|
}; then
|
||||||
/usr/local/bin/apt-mirror-updater -a
|
/usr/local/bin/apt-mirror-updater -a
|
||||||
|
apt-get update --allow-releaseinfo-change -qq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user