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