mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -18,6 +18,7 @@ echo "... setting permissions"
|
||||
chown -R "$PUID":"$PGID" "$DATA_LOCATION"
|
||||
|
||||
echo "... correcting official script"
|
||||
# shellcheck disable=SC2013
|
||||
for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g" "$file"; done
|
||||
rm -r /photos
|
||||
ln -sf "$DATA_LOCATION" /photos
|
||||
|
||||
Reference in New Issue
Block a user