v4.3.3 upgrade path
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user