mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 14:54:07 +02:00
Update 91-qbittorrent_configuration.sh
This commit is contained in:
@@ -18,6 +18,10 @@ cd "$CONFIG_LOCATION"/ || true
|
|||||||
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
|
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
|
||||||
LINE=$((LINE + 1))
|
LINE=$((LINE + 1))
|
||||||
|
|
||||||
|
# Remove unused folders
|
||||||
|
if [ -d "$CONFIG_LOCATION"/addons_config ]; then rm -r "$CONFIG_LOCATION"/addons_config; fi
|
||||||
|
if [ -d "$CONFIG_LOCATION"/qBittorrent ]; then rm -r "$CONFIG_LOCATION"/qBittorrent; fi
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# TIMEOUT #
|
# TIMEOUT #
|
||||||
###########
|
###########
|
||||||
|
|||||||
Reference in New Issue
Block a user