mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -6,6 +6,7 @@ CONFIGLOCATION=$(bashio::config "CONFIG_LOCATION")
|
||||
mkdir -p $CONFIGLOCATION/config
|
||||
|
||||
# Copy previous config if existing
|
||||
unlink /data/config 2>/dev/null || true
|
||||
if [ -d /data/config ]; then
|
||||
echo "Moving to new location $CONFIGLOCATION"
|
||||
mv /data/config/* $CONFIGLOCATION/config/
|
||||
|
||||
Reference in New Issue
Block a user