Skip to content

Commit

Permalink
Update rustOxideUpdaterLGSM.sh
Browse files Browse the repository at this point in the history
Added prerequisites.
  • Loading branch information
m33ts4k0z authored Oct 4, 2020
1 parent e4898b9 commit 84775a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Linux/LGSM/rustOxideUpdaterLGSM.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# First time, run: sudo apt install curl python3
# First time, run: sudo apt -y install curl python3 unzip
oxideVersionLatest=$(curl -s 'https://umod.org/games/rust/latest.json' | python3 -c "import sys, json; print(json.load(sys.stdin)['version'])")
oxideVersionInstalled=$(cat oxide.version)
echo "Checking for a new oxide version..."
Expand All @@ -17,4 +17,4 @@ then
echo "All operations completed successfully!"
else
echo "No update is available"
fi
fi

0 comments on commit 84775a0

Please sign in to comment.