From c92aab4a8fc24ee6d04de011c03443f8007191f9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 7 Dec 2022 22:04:40 +0100 Subject: [PATCH] Correct savepath --- .../rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh index 24efe99eb..d33c05570 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/91-qbittorrent_configuration.sh @@ -41,7 +41,7 @@ if bashio::config.has_value 'SavePath'; then # Replace save path CURRENTSAVEPATH=$(sed -n '/Downloads\\SavePath/p' qBittorrent.conf) sed -i "s|${CURRENTSAVEPATH#*=}|$DOWNLOADS|g" qBittorrent.conf || \ - sed -i "${LINE}a Downloads\\SavePath\\=$DOWNLOADS" qBittorrent.conf + sed -i "${LINE}a Downloads\SavePath=$DOWNLOADS" qBittorrent.conf # Replace session save path CURRENTSAVEPATH=$(sed -n '/Session\\DefaultSavePath/p' qBittorrent.conf)