Update install.sh

This commit is contained in:
dinger1986 2022-06-06 22:24:02 +01:00 committed by GitHub
parent 56312fb3f0
commit 6172d6c6eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ uname=$(whoami)
# Setup prereqs for server # Setup prereqs for server
if [[ `which yum` ]]; then if [[ `which yum` ]]; then
sudo yum -y unzip sudo yum install unzip
elif [[ `which apt` ]]; then elif [[ `which apt` ]]; then
sudo apt-get -y update sudo apt-get -y update
sudo apt-get -y unzip sudo apt-get -y install unzip
else else
echo "Unknown Platform, the install might fail" echo "Unknown Platform, the install might fail"
fi fi