mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
hadolint
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
for k in $(bashio::jq "${__BASHIO_ADDON_CONFIG}" 'keys | .[]'); do
|
||||
printf "$(bashio::config $k)" > /var/run/s6/container_environment/$k
|
||||
printf "$(bashio::config $k)" >/var/run/s6/container_environment/$k
|
||||
done
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
|
||||
echo "Updating folders..."
|
||||
echo "Updating folders..."
|
||||
|
||||
for FOLDERS in "/share/grav" "/app/grav-admin/backup"
|
||||
do
|
||||
for FOLDERS in "/share/grav" "/app/grav-admin/backup"; do
|
||||
echo "... $FOLDERS"
|
||||
mkdir -p $FOLDERS
|
||||
chown -R abc:abc $FOLDERS
|
||||
done
|
||||
|
||||
bashio::log.warning "If error of missing folder when loading addon, just restart"
|
||||
bashio::log.warning "If error of missing folder when loading addon, just restart"
|
||||
|
||||
Reference in New Issue
Block a user