Github bot : script beautyshied

This commit is contained in:
github-actions
2022-08-07 00:15:28 +00:00
parent 73dff19516
commit ad612a2714
3 changed files with 10 additions and 10 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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