mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Improve logic
https://github.com/alexbelgium/hassio-addons/issues/961#issuecomment-1722196367
This commit is contained in:
@@ -5,12 +5,8 @@
|
||||
CONFIG_LOCATION="/config/addons_config/jellyseer"
|
||||
bashio::log.info "Config stored in $CONFIG_LOCATION"
|
||||
mkdir -p "$CONFIG_LOCATION"
|
||||
if [ -d /data/config ]; then rm -r /data/config; fi
|
||||
cp -rnT /app/config "$CONFIG_LOCATION"
|
||||
cp -rnT /app/config "$CONFIG_LOCATION"/
|
||||
rm -r /app/config
|
||||
cp -rn /app/* /data
|
||||
cp -rn /app/.next /data
|
||||
rm -r /app
|
||||
ln -s "$CONFIG_LOCATION" /data/config
|
||||
|
||||
# Create files
|
||||
|
||||
Reference in New Issue
Block a user