openSUSE 15.3 and others
parent
06b388cf96
commit
bf6b918bda
26
zerotier.sh
26
zerotier.sh
|
@ -51,7 +51,7 @@ else
|
|||
sudo pacman -Sy curl git python tk xterm zerotier-one
|
||||
echo satisfied dependencies
|
||||
else
|
||||
echo "Do you use Distros based on OpenSUSE (zypper), y/n"
|
||||
echo "Do you use OpenSUSE Tumbleweed (Tumbleweed repo, zypper), y/n"
|
||||
read zypper
|
||||
if [ $zypper = y ]
|
||||
then
|
||||
|
@ -60,6 +60,28 @@ else
|
|||
sudo zypper install ZeroTierOne curl git xterm python3 python3-tk
|
||||
echo satisfied dependencies
|
||||
NOINSTALLONCURL="yes"
|
||||
else
|
||||
echo "Do you use OpenSUSE Leap 15.3 (Leap 15.3, zypper), y/n"
|
||||
read zypper
|
||||
if [ $zypper = y ]
|
||||
then
|
||||
sudo zypper addrepo https://download.opensuse.org/repositories/home:Dead_Mozay/openSUSE_Leap_15.3/home:Dead_Mozay.repo
|
||||
sudo zypper refresh
|
||||
sudo zypper install ZeroTierOne curl git xterm python3 python3-tk
|
||||
echo satisfied dependencies
|
||||
NOINSTALLONCURL="yes"
|
||||
else
|
||||
echo "Are you an OpenSUSE user and you don't use Leap 15.3 or Tumbleweed?, y/n"
|
||||
read zypper
|
||||
if [ $zypper = y ]
|
||||
then
|
||||
echo "you have to install ZeroTier in this page"
|
||||
echo "https://software.opensuse.org/package/ZeroTierOne"
|
||||
echo "if you installed ZeroTierOne, press enter to continue"
|
||||
read nothing
|
||||
sudo zypper install curl git xterm python3 python3-tk
|
||||
echo satisfied dependencies
|
||||
NOINSTALLONCURL="yes"
|
||||
else
|
||||
echo "do you want to continue without the satisfied dependencies?, y/n"
|
||||
read nodep
|
||||
|
@ -71,6 +93,8 @@ else
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
echo ABORT
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue