From 1894cc8581bce5563cef5e01fd82c9c78946a54b Mon Sep 17 00:00:00 2001 From: gilbN <24592972+gilbN@users.noreply.github.com> Date: Sun, 28 Feb 2021 21:19:24 +0100 Subject: [PATCH] lol --- qbittorrent/Dockerfile | 4 ---- qbittorrent/root/etc/cont-init.d/98-themepark | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) 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\