Merge pull request #98 from zaggash/patch-1

v4.3.3 upgrade path
This commit is contained in:
aptalca
2021-02-10 18:07:39 -05:00
committed by GitHub

View File

@@ -7,6 +7,10 @@ mkdir -p /config/qBittorrent
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
# v4.3.3 BT_backup migration
[[ -d /config/data/qBittorrent/BT_backup/ ]] && \
cp -a /config/data/qBittorrent/BT_backup/. /config/qBittorrent/BT_backup/
# chown download directory if currently not set to abc
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
chown -R abc:abc /downloads