mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 00:01:36 +01:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -46,7 +46,7 @@ DOWNLOADS=$(bashio::config 'SavePath')
|
||||
# Replace session save path
|
||||
CURRENTSAVEPATH=$(sed -n '/Session\DefaultSavePath/p' 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
|
||||
|
||||
# Info
|
||||
|
||||
Reference in New Issue
Block a user