mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-11-24 08:32:50 +02:00
[Update] Hide deprecation warning in pip
This commit is contained in:
parent
dd91be5a39
commit
e775a58df0
@ -402,7 +402,7 @@ fi
|
|||||||
|
|
||||||
echo -e "\e[32mFetching new docker-compose version...\e[0m"
|
echo -e "\e[32mFetching new docker-compose version...\e[0m"
|
||||||
sleep 2
|
sleep 2
|
||||||
if [[ ! -z $(which pip) && $(pip list --local | grep -c docker-compose) == 1 ]]; then
|
if [[ ! -z $(which pip) && $(pip list --local 2>&1 | grep -v DEPRECATION | grep -c docker-compose) == 1 ]]; then
|
||||||
true
|
true
|
||||||
#prevent breaking a working docker-compose installed with pip
|
#prevent breaking a working docker-compose installed with pip
|
||||||
elif [[ $(curl -sL -w "%{http_code}" https://www.servercow.de/docker-compose/latest.php -o /dev/null) == "200" ]]; then
|
elif [[ $(curl -sL -w "%{http_code}" https://www.servercow.de/docker-compose/latest.php -o /dev/null) == "200" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user