Update 00-folders.sh

This commit is contained in:
Alexandre
2022-03-22 07:04:14 +01:00
committed by GitHub
parent ced8d38565
commit bcdf8940ca

View File

@@ -13,10 +13,3 @@ sed -i "s|/data/config|$CONFIGLOCATION|g" /defaults/*
# Create directory
mkdir -p "$CONFIGLOCATION"/config
# Copy previous config if existing
if [ -d /data/config ]; then
echo "Moving to new location $CONFIGLOCATION"
mv /data/config/* "$CONFIGLOCATION"/config/
rm -r /data/config
fi