mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 00:55:58 +02:00
Update 00-folders.sh
This commit is contained in:
@@ -47,6 +47,7 @@ change_folders () {
|
|||||||
# Set permissions
|
# Set permissions
|
||||||
echo "Setting ownership to $PUID:$PGID"
|
echo "Setting ownership to $PUID:$PGID"
|
||||||
chown -R "$PUID":"$PGID" "$CONFIGLOCATION"
|
chown -R "$PUID":"$PGID" "$CONFIGLOCATION"
|
||||||
|
chmod -R 777 "$CONFIGLOCATION"
|
||||||
|
|
||||||
# Transfer files
|
# Transfer files
|
||||||
if [ -d "$ORIGINALLOCATION" ] && [ "$(ls -A "$ORIGINALLOCATION" 2>/dev/null)" ]; then
|
if [ -d "$ORIGINALLOCATION" ] && [ "$(ls -A "$ORIGINALLOCATION" 2>/dev/null)" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user