Trigus42 / alpine-qbittorrentvpn

Multiarch docker image with the latest qBittorrent-nox client (WEB UI) and WireGuard/OpenVPN tunnel
GNU General Public License v3.0
85 stars 13 forks source link

Ensure qbittorrent.conf additions are in the right section #47

Closed alexbelgium closed 11 months ago

alexbelgium commented 11 months ago

Current methodology with echo can fail if a section other than Preferences is at the bottom of the file. Using sed ensures the commands are put in the Preferences section

Trigus42 commented 11 months ago

Looks good. Thanks!