mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -46,7 +46,7 @@ DOWNLOADS=$(bashio::config 'SavePath')
|
|||||||
# Replace session save path
|
# Replace session save path
|
||||||
CURRENTSAVEPATH=$(sed -n '/Session\DefaultSavePath/p' qBittorrent.conf)
|
CURRENTSAVEPATH=$(sed -n '/Session\DefaultSavePath/p' qBittorrent.conf)
|
||||||
sed -i "s|${CURRENTSAVEPATH#*=}|$DOWNLOADS|g" qBittorrent.conf || \
|
sed -i "s|${CURRENTSAVEPATH#*=}|$DOWNLOADS|g" qBittorrent.conf || \
|
||||||
sed -i "1a [BitTorrent] qBittorrent.conf;
|
sed -i "1a [BitTorrent]" qBittorrent.conf;
|
||||||
sed -i "2a Session\DefaultSavePath=$DOWNLOADS" qBittorrent.conf
|
sed -i "2a Session\DefaultSavePath=$DOWNLOADS" qBittorrent.conf
|
||||||
|
|
||||||
# Info
|
# Info
|
||||||
|
|||||||
Reference in New Issue
Block a user