Update 20-folders.sh

This commit is contained in:
Alexandre
2023-01-12 11:11:27 +01:00
committed by GitHub
parent d7fb5b7312
commit e60360ca2c

View File

@@ -19,6 +19,6 @@ chown -R "$PUID":"$PGID" "$DATA_LOCATION"
echo "... correcting official script"
for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g" "$file"; done
rm /photos
rm -r /photos
ln -sf "$DATA_LOCATION" /photos
chown -R "$PUID":"$PGID" /photos