This commit is contained in:
Alexandre
2021-12-09 09:12:07 +01:00
parent 8bf378db99
commit 183a1fc219

View File

@@ -81,9 +81,9 @@ for files in "/scripts" "/etc/cont-init.d"; do
[ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES sqlite3"
fi
if [[ $(grep -rnw "$files/" -e 'pip') ]] && [[ ! $(pip -V) ]]; then
[ $PACKMANAGER = "apk" ] && PACKAGES="$PACKAGES py3-pip"
[ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES python-pip"
if [[ $(grep -rnw "$files/" -e 'pip') ]]; then
[ $PACKMANAGER = "apk" ] && [[ $(pip -V) ]] || PACKAGES="$PACKAGES py3-pip"
[ $PACKMANAGER = "apt" ] && [[ $(pip -V) ]] || PACKAGES="$PACKAGES python-pip"
fi
done