From 8bf378db99e6db9e9ebb23802e497edc0a4e3d63 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 9 Dec 2021 09:02:37 +0100 Subject: [PATCH] Update automatic_packages.sh --- zzz_templates/automatic_packages.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zzz_templates/automatic_packages.sh b/zzz_templates/automatic_packages.sh index 3dc3c0bf4..3c83039af 100644 --- a/zzz_templates/automatic_packages.sh +++ b/zzz_templates/automatic_packages.sh @@ -119,12 +119,7 @@ rm -rf /tmp/bashio # Lastversion if [[ $(grep -rnw "$files/" -e 'lastversion') ]]; then - [ $PACKMANAGER = "apk" ] && [[ $(pip -V) ]] \ - || apk add --no-cache py3-pip \ - && pip install lastversion - [ $PACKMANAGER = "apt" ] && [[ $(pip -V) ]] \ - || apt-get install -y python-pip \ - && pip install lastversion + pip install lastversion fi fi