Skip to content

Commit

Permalink
usr should exist at this point
Browse files Browse the repository at this point in the history
  • Loading branch information
iiamabby committed Oct 24, 2023
1 parent 294340e commit da7a58d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/scripts/example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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

0 comments on commit da7a58d

Please sign in to comment.