Update 20-folders.sh

This commit is contained in:
Alexandre
2022-03-13 07:41:11 +01:00
committed by GitHub
parent eee4a8111e
commit cf19ad3301

View File

@@ -10,9 +10,9 @@ mkdir -p "$CONFIGSOURCE/import_files" || true
mkdir -p "$CONFIGSOURCE/configurations" || true
# Create symlinks
cp -rnf /data/configurations $CONFIGSOURCE
cp -rnf /data/configurations "$CONFIGSOURCE"
rm -r /data/configurations
ln -s $CONFIGSOURCE/configurations /data
ln -s "$CONFIGSOURCE"/configurations /data
# Make sure permissions are right
chown -R "$(id -u):$(id -g)" "$CONFIGSOURCE"