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