Update 20-folders.sh

This commit is contained in:
Alexandre
2023-08-28 12:22:02 +02:00
committed by GitHub
parent 33dbdcf275
commit fde97ed9fa

View File

@@ -28,3 +28,5 @@ for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g"
if [ -f /photos ]; then rm -r /photos; fi
ln -sf "$DATA_LOCATION" /photos
chown -R "$PUID":"$PGID" /photos
mkdir -p "$MACHINE_LEARNING_CACHE_FOLDER" "$TYPESENSE_DATA_DIR"