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
mkdir -p /.cache
chmod 755 /.cache
if [ -d "/config/.cache" ]; then
cp -rf /config/.cache /.cache
rm -r /config/.cache
fi
ln -sf /config/.cache /.cache
#mkdir -p /.cache
#chmod 755 /.cache
#if [ -d "/config/.cache" ]; then
# cp -rf /config/.cache/. /.cache/.
# rm -r /config/.cache
#fi
#ln -sf /config/.cache /.cache
# Set ownership
bashio::log.info "Setting ownership to $PUID:$PGID"