From da7a58d22e71022172d153393debff2baf370049 Mon Sep 17 00:00:00 2001 From: = Date: Tue, 24 Oct 2023 13:05:51 +1300 Subject: [PATCH] usr should exist at this point --- config/scripts/example.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/scripts/example.sh b/config/scripts/example.sh index 3b60018..52a82fd 100644 --- a/config/scripts/example.sh +++ b/config/scripts/example.sh @@ -10,4 +10,12 @@ echo 'This is an example shell script' echo 'Scripts here will run during build if specified in recipe.yml' # Install Java rpm-ostree install -y java-17-openjdk -export PATH="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc38.x86_64/bin:$PATH" \ No newline at end of file +export PATH="/usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc38.x86_64/bin:$PATH" +echo $PATH + +mkdir /usr/local/bin/minecraftforge && \ +cd /usr/local/bin/minecraftforge && \ +wget "https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.1-47.2.0/forge-1.20.1-47.2.0-mdk.zip" -O temp.zip && \ +unzip temp.zip && \ +ls && \ +rm temp.zip \ No newline at end of file