mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 00:01:36 +01:00
Update automatic_packages.sh
This commit is contained in:
@@ -77,8 +77,8 @@ for files in "/scripts" "/etc/cont-init.d"; do
|
||||
fi
|
||||
|
||||
if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then
|
||||
[ $PACKMANAGER = "apk" ] && pip install lastversion
|
||||
[ $PACKMANAGER = "apt" ] && apt-get install -y python-pip && pip install --upgrade pip \
|
||||
[ $PACKMANAGER = "apk" ] && apk add --no-cache py3-pip && pip install lastversion
|
||||
[ $PACKMANAGER = "apt" ] && apt-get install -y python-pip \
|
||||
&& pip install lastversion
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user