Update automatic_packages.sh

This commit is contained in:
Alexandre
2021-12-08 22:57:34 +01:00
committed by GitHub
parent e03473ff86
commit cd45293b5a

View File

@@ -78,7 +78,7 @@ echo "Looking in $files"
if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then
echo "found last version"
[ $PACKMANAGER = "apk" ] && apk add --no-cache py3-pip && pip install --upgrade pip \
[ $PACKMANAGER = "apk" ] && pip install --upgrade pip \
&& pip install lastversion
[ $PACKMANAGER = "apt" ] && apt-get install -y python-pip && pip install --upgrade pip \
&& pip install lastversion