mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-17 06:11:49 +02:00
Update automatic_packages.sh
This commit is contained in:
@@ -119,12 +119,7 @@ rm -rf /tmp/bashio
|
|||||||
|
|
||||||
# Lastversion
|
# Lastversion
|
||||||
if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then
|
if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then
|
||||||
[ $PACKMANAGER = "apk" ] && [[ $(pip -V) ]] \
|
pip install lastversion
|
||||||
|| apk add --no-cache py3-pip \
|
|
||||||
&& pip install lastversion
|
|
||||||
[ $PACKMANAGER = "apt" ] && [[ $(pip -V) ]] \
|
|
||||||
|| apt-get install -y python-pip \
|
|
||||||
&& pip install lastversion
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user