diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index 2a004458..4f033006 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -1,9 +1,5 @@ FROM scratch -RUN \ - apt-get update && \ - apt-get install -y \ - subversion # copy local files COPY root/ / \ No newline at end of file diff --git a/qbittorrent/root/etc/cont-init.d/98-themepark b/qbittorrent/root/etc/cont-init.d/98-themepark index 5df9e568..ddeb1542 100644 --- a/qbittorrent/root/etc/cont-init.d/98-themepark +++ b/qbittorrent/root/etc/cont-init.d/98-themepark @@ -4,6 +4,14 @@ echo '------------------------------' echo '| qBittorrent theme.park Mod |' echo '------------------------------' +if [[ ! -d /usr/bin/svn ]]; then +echo '--------------------------' +echo '| Installing svn package |' +echo '--------------------------' + apt-get update && \ + apt-get install -y subversion +fi + # Display variables for troubleshooting echo -e "Variables set:\\n\ 'TP_DOMAIN'=${TP_DOMAIN}\\n\