Update 20-folders.sh

This commit is contained in:
Alexandre
2023-01-13 12:23:13 +01:00
committed by GitHub
parent 7115aa2b16
commit 3bd0815aa9

View File

@@ -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