mirror of
https://github.com/CerberusV1/minecraft_deploy.git
synced 2026-01-13 11:24:04 +01:00
maybe fix for installer dl
This commit is contained in:
@@ -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."
|
||||||
) &&
|
)
|
||||||
Reference in New Issue
Block a user