mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02: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"
|
[ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES sqlite3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(grep -rnw "$files/" -e 'pip') ]] && [[ ! $(pip -V &>/dev/null) ]]; then
|
if [[ $(grep -rnw "$files/" -e 'pip') ]]; then
|
||||||
[ $VERBOSE = true ] && echo "pip found"
|
[ $VERBOSE = true ] && echo "pip found"
|
||||||
[ $PACKMANAGER = "apk" ] && PACKAGES="$PACKAGES py3-pip"
|
[ $PACKMANAGER = "apk" ] && PACKAGES="$PACKAGES py3-pip"
|
||||||
[ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES python-pip"
|
[ $PACKMANAGER = "apt" ] && PACKAGES="$PACKAGES python-pip"
|
||||||
|
|||||||
Reference in New Issue
Block a user