diff --git a/.templates/92-smb_mounts.sh b/.templates/92-smb_mounts.sh index 8527f9f42..ceda29b48 100644 --- a/.templates/92-smb_mounts.sh +++ b/.templates/92-smb_mounts.sh @@ -95,6 +95,6 @@ if bashio::config.has_value 'networkdisks'; then done -if [ -f ERRORCODE ]; then rm ERRORCODE; fi + if [ -f ERRORCODE ]; then rm ERRORCODE; fi fi 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 541ff83e1..8c4db5a3b 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-add_packages.sh @@ -23,11 +23,11 @@ if bashio::config.has_value 'additional_apps'; then for element in "${array[@]}" do if [[ $element =~ $re ]]; then - # shellcheck disable=SC2295 - APP="${element#${BASH_REMATCH[1]}}" - bashio::log.green "... $APP" - # shellcheck disable=SC2015,SC2086 - apk add --no-cache $APP || bashio::log.red "... not successful, please check $APP package name" + # shellcheck disable=SC2295 + APP="${element#${BASH_REMATCH[1]}}" + bashio::log.green "... $APP" + # shellcheck disable=SC2015,SC2086 + apk add --no-cache $APP || bashio::log.red "... not successful, please check $APP package name" fi done fi diff --git a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh index 688a8121f..626d33299 100644 --- a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh +++ b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh @@ -3,8 +3,8 @@ for file in /config/addons_config/nextcloud/*.sh do - if [ -e "$file" ]; then - bashio::log.info "Executing $file" - bash "$file" - fi + if [ -e "$file" ]; then + bashio::log.info "Executing $file" + bash "$file" + fi done