mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 00:25:55 +02:00
Github bot : script beautyshied
This commit is contained in:
@@ -95,6 +95,6 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -f ERRORCODE ]; then rm ERRORCODE; fi
|
if [ -f ERRORCODE ]; then rm ERRORCODE; fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -23,11 +23,11 @@ if bashio::config.has_value 'additional_apps'; then
|
|||||||
for element in "${array[@]}"
|
for element in "${array[@]}"
|
||||||
do
|
do
|
||||||
if [[ $element =~ $re ]]; then
|
if [[ $element =~ $re ]]; then
|
||||||
# shellcheck disable=SC2295
|
# shellcheck disable=SC2295
|
||||||
APP="${element#${BASH_REMATCH[1]}}"
|
APP="${element#${BASH_REMATCH[1]}}"
|
||||||
bashio::log.green "... $APP"
|
bashio::log.green "... $APP"
|
||||||
# shellcheck disable=SC2015,SC2086
|
# shellcheck disable=SC2015,SC2086
|
||||||
apk add --no-cache $APP || bashio::log.red "... not successful, please check $APP package name"
|
apk add --no-cache $APP || bashio::log.red "... not successful, please check $APP package name"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
for file in /config/addons_config/nextcloud/*.sh
|
for file in /config/addons_config/nextcloud/*.sh
|
||||||
do
|
do
|
||||||
if [ -e "$file" ]; then
|
if [ -e "$file" ]; then
|
||||||
bashio::log.info "Executing $file"
|
bashio::log.info "Executing $file"
|
||||||
bash "$file"
|
bash "$file"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user