mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
update
This commit is contained in:
@@ -78,6 +78,6 @@
|
|||||||
},
|
},
|
||||||
"slug": "jellyseerr",
|
"slug": "jellyseerr",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/jellyseerr",
|
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/jellyseerr",
|
||||||
"version": "1.5.0-2test",
|
"version": "1.5.0-2test2",
|
||||||
"webui": "[PROTO:ssl]://[HOST]:[PORT:5055]"
|
"webui": "[PROTO:ssl]://[HOST]:[PORT:5055]"
|
||||||
}
|
}
|
||||||
@@ -5,10 +5,11 @@
|
|||||||
CONFIG_LOCATION="/config/addons_config/jellyseer"
|
CONFIG_LOCATION="/config/addons_config/jellyseer"
|
||||||
bashio::log.info "Config stored in $CONFIG_LOCATION"
|
bashio::log.info "Config stored in $CONFIG_LOCATION"
|
||||||
mkdir -p "$CONFIG_LOCATION"
|
mkdir -p "$CONFIG_LOCATION"
|
||||||
cp -rnT /app/config "$CONFIG_LOCATION"
|
|
||||||
cp -rnT /app/ /data/
|
|
||||||
rm -r /app
|
|
||||||
if [ -d /data/config ]; then rm -r /data/config; fi
|
if [ -d /data/config ]; then rm -r /data/config; fi
|
||||||
|
cp -rnT /app/config "$CONFIG_LOCATION"
|
||||||
|
rm -r /app/config
|
||||||
|
cp -rT /app /data
|
||||||
|
rm -r /app
|
||||||
ln -s "$CONFIG_LOCATION" /data/config
|
ln -s "$CONFIG_LOCATION" /data/config
|
||||||
|
|
||||||
# Create files
|
# Create files
|
||||||
|
|||||||
Reference in New Issue
Block a user