mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-12 08:00:35 +01:00
Update automatic_packages.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user