Update 90-data_location.sh

This commit is contained in:
Alexandre
2022-12-17 14:15:21 +01:00
committed by GitHub
parent 4c97c56511
commit 2bd7863a50

View File

@@ -11,6 +11,7 @@ if [[ "$LOCATION" = "null" || -z "$LOCATION" ]]; then LOCATION=/config/addons_co
# Set data location
bashio::log.info "Setting data location to $LOCATION"
# shellscript disable=SC2013
for file in $(grep -sril "/config" /etc /defaults); do sed -i "s=/config=$LOCATION=g" $file; done
# Create folders