mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-08-12 06:01:16 +02:00
Merge pull request #15 from shykeiichi/add-arch
This commit is contained in:
commit
f8ee95133b
@ -60,6 +60,7 @@ fi
|
||||
PREREQ="curl wget unzip tar"
|
||||
PREREQDEB="dnsutils"
|
||||
PREREQRPM="bind-utils"
|
||||
PREREQARCH="bind"
|
||||
|
||||
echo "Installing prerequisites"
|
||||
if [ "${ID}" = "debian" ] || [ "$OS" = "Ubuntu" ] || [ "$OS" = "Debian" ] || [ "${UPSTREAM_ID}" = "ubuntu" ] || [ "${UPSTREAM_ID}" = "debian" ]; then
|
||||
@ -71,6 +72,9 @@ elif [ "$OS" = "CentOS" ] || [ "$OS" = "RedHat" ] || [ "${UPSTREAM_ID}" = "rhe
|
||||
# || [ "${UPSTREAM_ID}" = "suse" ]
|
||||
sudo yum update -y
|
||||
sudo yum install -y ${PREREQ} ${PREREQRPM} # git
|
||||
elif [ "${ID}" = "arch" ]; then
|
||||
sudo pacman -Syu
|
||||
sudo pacman -S ${PREREQ} ${PREREQARCH}
|
||||
else
|
||||
echo "Unsupported OS"
|
||||
# here you could ask the user for permission to try and install anyway
|
||||
|
Loading…
x
Reference in New Issue
Block a user