Update 20-folders.sh

This commit is contained in:
Alexandre
2024-02-08 14:22:29 +01:00
committed by GitHub
parent 9df26a57a4
commit 7a8ca1656d

View File

@@ -37,7 +37,7 @@ echo "... correcting official script"
for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g" "$file"; done
if [ -f /photos ]; then rm -r /photos; fi
ln -sf "$DATA_LOCATION" /photos
chown -R "$PUID":"$PGID" /photos
chown "$PUID":"$PGID" /photos
mkdir -p "$MACHINE_LEARNING_CACHE_FOLDER"
mkdir -p "$REVERSE_GEOCODING_DUMP_DIRECTORY"