Update 20-folders.sh

This commit is contained in:
Alexandre
2026-01-16 20:07:28 +01:00
committed by GitHub
parent 5bcb21db5e
commit 3c23ef2cd1

View File

@@ -9,13 +9,13 @@ PGID=$(bashio::config "PGID")
# Create cache # Create cache
mkdir -p /.cache #mkdir -p /.cache
chmod 755 /.cache #chmod 755 /.cache
if [ -d "/config/.cache" ]; then #if [ -d "/config/.cache" ]; then
cp -rf /config/.cache /.cache # cp -rf /config/.cache/. /.cache/.
rm -r /config/.cache # rm -r /config/.cache
fi #fi
ln -sf /config/.cache /.cache #ln -sf /config/.cache /.cache
# Set ownership # Set ownership
bashio::log.info "Setting ownership to $PUID:$PGID" bashio::log.info "Setting ownership to $PUID:$PGID"