maybe fix for installer dl

This commit is contained in:
CerberusV1
2024-10-12 14:14:59 +02:00
parent c4afc9e120
commit 148bb2a013

View File

@@ -157,7 +157,7 @@ URL="https://maven.minecraftforge.net/net/minecraftforge/forge/${version}/forge-
# -------------------------------------------------------- # --------------------------------------------------------
echo "Downloading Installer..." echo "Downloading Installer..."
wget "$server_dir" "$URL" > /dev/null 2>&1 & # no output for wget wget "$server_dir/" "$URL" > /dev/null 2>&1 & # no output for wget
PID=$! PID=$!
( (
while kill -0 $PID 2> /dev/null; do while kill -0 $PID 2> /dev/null; do
@@ -165,4 +165,4 @@ PID=$!
sleep 1 sleep 1
done done
echo "Download finished." echo "Download finished."
) && )