From a3d038de1943fd5ba2c94bf8911fbb686250c08f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 10 Dec 2021 14:49:57 +0100 Subject: [PATCH] Update automatic_packages.sh --- zzz_templates/automatic_packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zzz_templates/automatic_packages.sh b/zzz_templates/automatic_packages.sh index 79e451d9e..5f53936d6 100644 --- a/zzz_templates/automatic_packages.sh +++ b/zzz_templates/automatic_packages.sh @@ -94,7 +94,7 @@ for files in "/etc/cont-init.d" "/scripts"; do [ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES sqlite3" fi - if [[ $(grep -rnw "$files/" -e 'pip') ]] && [[ ! $(pip -V &>/dev/null) ]]; then + if [[ $(grep -rnw "$files/" -e 'pip') ]]; then [ $VERBOSE = true ] && echo "pip found" [ $PACKMANAGER = "apk" ] && PACKAGES="$PACKAGES py3-pip" [ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES python-pip"