Update 20-folders.sh

This commit is contained in:
Alexandre
2022-01-17 18:20:47 +01:00
committed by GitHub
parent 5bfd37ae58
commit 1548841d60

View File

@@ -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/