From 07248555cb5b051c98b61eefcb2e51bc7a5026b4 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 20 Jan 2022 20:58:58 +0100 Subject: [PATCH] Update automatic_packages.sh --- .templates/automatic_packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/automatic_packages.sh b/.templates/automatic_packages.sh index de0f8491a..21fd0ed0a 100644 --- a/.templates/automatic_packages.sh +++ b/.templates/automatic_packages.sh @@ -141,9 +141,9 @@ ERROR=0 for packagestoinstall in $PACKAGES; do [ "$VERBOSE" = true ] && echo "... $packagestoinstall" if [ "$PACKMANAGER" = "apk" ]; then - apk add --no-cache $packagestoinstall &>/dev/null || (echo "Error : $packagestoinstall not found" && ERROR = 1) + apk add --no-cache $packagestoinstall &>/dev/null || (echo "Error : $packagestoinstall not found" && ERROR=1) elif [ "$PACKMANAGER" = "apt" ]; then - apt-get install -yqq --no-install-recommends $packagestoinstall &>/dev/null || (echo "Error : $packagestoinstall not found" && ERROR = 1) + apt-get install -yqq --no-install-recommends $packagestoinstall &>/dev/null || (echo "Error : $packagestoinstall not found" && ERROR=1) fi [ "$VERBOSE" = true ] && echo "... $packagestoinstall done" done