From 6ba41de923a75852a2b6e2ef51d7c448f2926d54 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Dec 2023 15:27:25 +0100 Subject: [PATCH] Update 00-migration.sh --- qbittorrent/rootfs/etc/cont-init.d/00-migration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/00-migration.sh b/qbittorrent/rootfs/etc/cont-init.d/00-migration.sh index 95bbe9e3d..9ed0f0c90 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/00-migration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/00-migration.sh @@ -91,15 +91,15 @@ fi || true if bashio::config.has_value 'smbv1'; then bashio::addon.option "smbv1" bashio::log.yellow "... smbv1 : removed as not used anymore" - MIGRATED=true fi || true if bashio::config.has_value 'openvpn_config'; then openvpn_config="$(bashio::config "openvpn_config")" if [ -f "$openvpn_config" ]; then mv "$openvpn_config" /config/openvpn/ + bashio::log.yellow "... openvpn file migrated to new location" fi - MIGRATED=true + bashio::addon.option "openvpn_config" fi || true if [[ "$MIGRATED" == "true" ]]; then