mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 05:14:04 +02:00
Lint
This commit is contained in:
@@ -8,6 +8,7 @@ mkdir -p "$CONFIG_LOCATION"
|
|||||||
chown -R abc:abc "$CONFIG_LOCATION"
|
chown -R abc:abc "$CONFIG_LOCATION"
|
||||||
chmod -R 755 "$CONFIG_LOCATION"
|
chmod -R 755 "$CONFIG_LOCATION"
|
||||||
|
|
||||||
|
# shellcheck ignore=SC2013
|
||||||
for file in $(grep -Esril "/config/addons_config/overseerr" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do
|
for file in $(grep -Esril "/config/addons_config/overseerr" /etc/logrotate.d /defaults /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do
|
||||||
sed -i "s=/config/addons_config/overseerr=$CONFIG_LOCATION=g" "$file"
|
sed -i "s=/config/addons_config/overseerr=$CONFIG_LOCATION=g" "$file"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user