diff --git a/Hydrunfile b/Hydrunfile index 4d52c17..2d4a70d 100755 --- a/Hydrunfile +++ b/Hydrunfile @@ -2,12 +2,12 @@ set -e -# Install native dependencies -apt update -apt install -y curl make - # Go if [ "$1" = "go" ]; then + # Install native dependencies + apt update + apt install -y curl make + # Install bagop curl -L -o /tmp/bagop "https://github.com/pojntfx/bagop/releases/latest/download/bagop.linux-$(uname -m)" install /tmp/bagop /usr/local/bin @@ -25,6 +25,10 @@ fi # gccgo if [ "$1" = "gccgo" ]; then + # Install native dependencies + apt update + apt install -y curl + # Install bagccgop curl -L -o /tmp/bagccgop "https://github.com/pojntfx/bagccgop/releases/latest/download/bagccgop.linux-$(uname -m)" install /tmp/bagccgop /usr/local/bin @@ -75,4 +79,4 @@ if [ "$1" = "windows" ]; then yes | cp -f ~/.wine/drive_c/users/root/Documents/stfs/out/* out exit 0 -fi \ No newline at end of file +fi