Update 20-folders.sh

This commit is contained in:
Alexandre
2022-12-16 01:24:05 +01:00
committed by GitHub
parent 4e95e904fd
commit dbf71b09a4

View File

@@ -7,7 +7,7 @@ CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer"
mkdir -p "$CONFIGSOURCE" mkdir -p "$CONFIGSOURCE"
# If no file, provide example # If no file, provide example
[ ! "$(ls -A "${CONFIGSOURCE}")" ] && cp -rn /data/configurations/* "$CONFIGSOURCE"/ [ ! "$(ls -A "${CONFIGSOURCE}")" ] && cp -r /data/configurations/* "$CONFIGSOURCE"/
# Create symlinks # Create symlinks
rm -r /data/configurations rm -r /data/configurations