From 13e11e06b6f25f28133f675a4f813df3905106f5 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 2 Aug 2022 11:52:38 +0200 Subject: [PATCH] Lint --- nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh b/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh index 2ec006b3c..bf202dc1c 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh @@ -20,9 +20,11 @@ if bashio::config.has_value 'additional_apps'; then read -ra array <<< "$NEWAPPS" for element in "${array[@]}" do + # shellcheck disable=SC2295 APP="${element#${BASH_REMATCH[1]}}" [[ $element =~ $re ]] && \ bashio::log.green "... $APP" && \ + # shellcheck disable=SC2015 apk add --no-cache "$APP" || bashio::log.red "... not successful, please check $APP package name" done fi