mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-06-28 17:23:13 -04:00
v4.3.3 upgrade path
This commit is contained in:
parent
a82199f478
commit
9a267928a3
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ mkdir -p /config/qBittorrent
|
||||||
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
|
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
|
||||||
cp /defaults/qBittorrent.conf /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
|
# chown download directory if currently not set to abc
|
||||||
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
if [[ "$(stat -c '%U' /downloads)" != "abc" ]]; then
|
||||||
chown -R abc:abc /downloads
|
chown -R abc:abc /downloads
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue