From 7b6a927e4c95b6dc26c3e5fa9c7130ed3704f74f Mon Sep 17 00:00:00 2001
From: Sam Heinz <54530346+asylumexp@users.noreply.github.com>
Date: Fri, 14 Jun 2024 12:26:54 +1000
Subject: [PATCH] Fix downloading JDownloader

(cherry picked from commit 44e7375a45eeb49227fe0d0c2e3658ccc91b78eb)
---
 install/jdownloader2-install.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/install/jdownloader2-install.sh b/install/jdownloader2-install.sh
index a385b1cc..f9006f33 100644
--- a/install/jdownloader2-install.sh
+++ b/install/jdownloader2-install.sh
@@ -30,7 +30,8 @@ mkdir -p /app/cfg
 $STD git clone https://github.com/jlesage/docker-jdownloader-2 /root/djd2
 mv /root/djd2/rootfs/defaults/cfg/* /app/cfg/
 rm -rf /root/djd2
-wget -Oq - http://installer.jdownloader.org/JDownloader.jar > /app/JDownloader.jar
+cd /app
+wget -q http://installer.jdownloader.org/JDownloader.jar
 msg_ok "Installed JDownloader2"
 
 msg_info "Setting up VNC Server"