mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 18:43:39 +02:00
Update 91-configuration.sh
This commit is contained in:
@@ -13,8 +13,8 @@ LINE=$((LINE + 1))
|
|||||||
# Default folder #
|
# Default folder #
|
||||||
##################
|
##################
|
||||||
|
|
||||||
if bashio::config.has_value 'download-folder'; then
|
if bashio::config.has_value 'SavePath'; then
|
||||||
DOWNLOADS=$(bashio::config 'download-folder')
|
DOWNLOADS=$(bashio::config 'SavePath')
|
||||||
sed -i '/SavePath/d' qBittorrent.conf
|
sed -i '/SavePath/d' qBittorrent.conf
|
||||||
sed -i "$LINE i\Downloads\\\SavePath=$DOWNLOADS" qBittorrent.conf
|
sed -i "$LINE i\Downloads\\\SavePath=$DOWNLOADS" qBittorrent.conf
|
||||||
mkdir -p $DOWNLOADS || true
|
mkdir -p $DOWNLOADS || true
|
||||||
|
|||||||
Reference in New Issue
Block a user