[bugfix] docker-compose installation was slow AF
This commit is contained in:
parent
7c2833dfbe
commit
e3f03e5d76
|
@ -9,10 +9,9 @@ case "$PM" in
|
||||||
apt)
|
apt)
|
||||||
# snap docker will intefere native docker.io, must be dealt with
|
# snap docker will intefere native docker.io, must be dealt with
|
||||||
sudo snap remove --purge docker
|
sudo snap remove --purge docker
|
||||||
|
pm_update
|
||||||
sudo apt install -y docker.io
|
sudo apt install -y docker.io
|
||||||
if ! has_cmd python; then
|
"$PDIR/devel/python.sh"
|
||||||
"$PDIR/python/install.sh"
|
|
||||||
fi
|
|
||||||
sudo pip3 install docker-compose
|
sudo pip3 install docker-compose
|
||||||
;;
|
;;
|
||||||
pacman)
|
pacman)
|
||||||
|
|
4
env.sh
4
env.sh
|
@ -10,8 +10,8 @@ PDIR=$(dirname "${DIR-$0}")
|
||||||
GITHUB_PROXY=${GITHUB_PROXY-$HTTPS_PROXY}
|
GITHUB_PROXY=${GITHUB_PROXY-$HTTPS_PROXY}
|
||||||
|
|
||||||
in_china() {
|
in_china() {
|
||||||
! [ -f /tmp/myip ] && curl -s myip.ipip.net > /tmp/myip
|
! [ -f /tmp/myip_full ] && curl -s myip.ipip.net > /tmp/myip_full
|
||||||
grep -qF '中国' /tmp/myip
|
grep -qF '中国' /tmp/myip_full
|
||||||
}
|
}
|
||||||
|
|
||||||
lnsf() {
|
lnsf() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user