mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update 20-folders.sh
This commit is contained in:
@@ -7,7 +7,7 @@ CONFIGSOURCE="/config/addons_config/fireflyiii_fints_importer"
|
||||
mkdir -p "$CONFIGSOURCE"
|
||||
|
||||
# If no file, provide example
|
||||
[ ! "$(ls -A "${CONFIGSOURCE}")" ] && cp -rn /data/configurations/* "$CONFIGSOURCE"/
|
||||
[ ! "$(ls -A "${CONFIGSOURCE}")" ] && cp -r /data/configurations/* "$CONFIGSOURCE"/
|
||||
|
||||
# Create symlinks
|
||||
rm -r /data/configurations
|
||||
|
||||
Reference in New Issue
Block a user