diff --git a/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark b/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark index 576bcff5..fcd3f20b 100644 --- a/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark +++ b/docker-mods/qbittorrent/root/etc/cont-init.d/98-themepark @@ -27,8 +27,13 @@ if ! [[ -x "$(command -v svn)" ]]; then echo '--------------------------' echo '| Installing svn package |' echo '--------------------------' - apt-get update && \ - apt-get install -y subversion + if [ -x "$(command -v apk)" ]; then + apk update && \ + apk add --no-cache subversion + elif [ -x "$(command -v apt-get)" ]; then + apt-get update && \ + apt-get install -y subversion + fi fi # Display variables for troubleshooting