mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Github bot : script beautyshied
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user