mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-05-13 15:38:59 +02:00
aligned to install for rhel derivatives
This commit is contained in:
parent
f511867dc8
commit
54944d2014
@ -65,7 +65,7 @@ if [ "${ID}" = "debian" ] || [ "$OS" = "Ubuntu" ] || [ "$OS" = "Debian" ] || [
|
||||
prereq+=" dnsutils"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y "${prereq}" # git
|
||||
elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ]; then
|
||||
elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ] || [ "${UPSTREAM_ID}" = "rhel" ]; then
|
||||
prereq+=" bind-utils"
|
||||
sudo yum update -y
|
||||
sudo yum install -y "${prereq}" # git
|
||||
@ -107,4 +107,3 @@ rm gohttpserver_${GOHTTPLATEST}_linux_amd64.tar.gz
|
||||
sudo systemctl start gohttpserver.service
|
||||
|
||||
echo -e "Updates are complete"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user