From cc079e86ef92291da9a310dde2bf08a0a6e3f197 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 14 Feb 2021 15:20:03 +0100 Subject: [PATCH] Update 91-configuration.sh --- qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh index d63e29db5..628b29052 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-configuration.sh @@ -13,8 +13,8 @@ LINE=$((LINE + 1)) # Default folder # ################## -if bashio::config.has_value 'download-folder'; then - DOWNLOADS=$(bashio::config 'download-folder') +if bashio::config.has_value 'SavePath'; then + DOWNLOADS=$(bashio::config 'SavePath') sed -i '/SavePath/d' qBittorrent.conf sed -i "$LINE i\Downloads\\\SavePath=$DOWNLOADS" qBittorrent.conf mkdir -p $DOWNLOADS || true