From 8e5f5db80ac639dc931aa80f99e4db8a410c1986 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 23 Nov 2022 05:13:10 +0100 Subject: [PATCH] Correct error in 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 679230361..24efe99eb 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)