mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 13:54:05 +02:00
Update automatic_packages.sh
This commit is contained in:
@@ -78,13 +78,9 @@ echo "Looking in $files"
|
|||||||
|
|
||||||
if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then
|
if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then
|
||||||
echo "found last version"
|
echo "found last version"
|
||||||
[ $PACKMANAGER = "apk" ] && apk add --no-cache pip \
|
[ $PACKMANAGER = "apk" ] && apk add --no-cache py2-pip && pip install --upgrade pip \
|
||||||
&& pip install --upgrade pip \
|
|
||||||
&& pip install lastversion
|
&& pip install lastversion
|
||||||
[ $PACKMANAGER = "apt" ] && apt-get clean \
|
[ $PACKMANAGER = "apt" ] && apt-get install -y python-pip && pip install --upgrade pip \
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get install -y --no-install-recommends pip \
|
|
||||||
&& pip install --upgrade pip \
|
|
||||||
&& pip install lastversion
|
&& pip install lastversion
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user