Github bot : script beautyshied

This commit is contained in:
github-actions
2022-09-18 00:15:19 +00:00
parent 40acc9e44c
commit 095480daa9
5 changed files with 11 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ if bashio::config.has_value 'SavePath'; then
# Replace save path
CURRENTSAVEPATH=$(sed -n '/Downloads\\SavePath/p' qBittorrent.conf)
sed -i "s|${CURRENTSAVEPATH#*=}|$DOWNLOADS|g" qBittorrent.conf || \
sed -i "${LINE}a Downloads\\SavePath\\$DOWNLOADS" qBittorrent.conf
sed -i "${LINE}a Downloads\\SavePath\\$DOWNLOADS" qBittorrent.conf
# Replace session save path
CURRENTSAVEPATH=$(sed -n '/Session\\DefaultSavePath/p' qBittorrent.conf)