Update 91-qbittorrent_configuration.sh

This commit is contained in:
Alexandre
2022-12-07 22:58:44 +01:00
committed by GitHub
parent e6d4d26b06
commit e62f80aa1d

View File

@@ -18,6 +18,10 @@ cd "$CONFIG_LOCATION"/ || true
LINE=$(sed -n '/Preferences/=' qBittorrent.conf)
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 #
###########