Update 00-folders.sh

This commit is contained in:
Alexandre
2022-03-21 22:26:06 +01:00
committed by GitHub
parent 9ad632dfd2
commit bb2b22d8e4

View File

@@ -9,7 +9,7 @@ CONFIGLOCATION="$(dirname "$CONFIGLOCATION")"
fi fi
sed -i "s|/data/config|$CONFIGLOCATION|g" /etc/cont-init.d/* sed -i "s|/data/config|$CONFIGLOCATION|g" /etc/cont-init.d/*
sed -i "s| /data/config| $CONFIGLOCATION|g" /defaults/* || true sed -i "s|/data/config|$CONFIGLOCATION|g" /defaults/*
# Create directory # Create directory
mkdir -p "$CONFIGLOCATION"/config mkdir -p "$CONFIGLOCATION"/config