From 9a267928a301bae235ca633f44db40c572b247d6 Mon Sep 17 00:00:00 2001 From: Alexandre Pinon <1724149+zaggash@users.noreply.github.com> Date: Mon, 25 Jan 2021 23:58:51 +0100 Subject: [PATCH] v4.3.3 upgrade path --- root/etc/cont-init.d/30-config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index d5bacec..50c9a70 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -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