mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 10:51:58 -05:00
Install wget if it's not found
This commit is contained in:
parent
1575488f5a
commit
7563601050
1 changed files with 7 additions and 0 deletions
|
@ -28,6 +28,13 @@ if [[ `uname` == "Darwin" ]]; then
|
|||
echo "brew was found"
|
||||
fi
|
||||
|
||||
echo "Check if wget is installed"
|
||||
which -s wget
|
||||
if [ $? -eq 1 ]; then
|
||||
echo "wget is not installed, installing wget.."
|
||||
eval "$package_command install wget"
|
||||
fi
|
||||
|
||||
# Install packages with whatever command was found.
|
||||
# Very possible I'm missing some dependencies here.
|
||||
eval "$package_command install cmake wine"
|
||||
|
|
Loading…
Add table
Reference in a new issue