mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 09:58:16 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user