1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-19 07:34:43 -04:00

Update install.sh

Just making the code a tiny bit more consistent
This commit is contained in:
TommyTran732 2020-09-02 11:28:14 -04:00 committed by GitHub
parent 14b80299a0
commit 86134f20ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,8 +363,7 @@ repositories_setup(){
add-apt-repository -y ppa:certbot/certbot add-apt-repository -y ppa:certbot/certbot
add-apt-repository -y ppa:nginx/development add-apt-repository -y ppa:nginx/development
fi fi
apt -y install tuned apt -y install tuned dnsutils
apt-get install dnsutils -y
tuned-adm profile latency-performance tuned-adm profile latency-performance
elif [ "$lsb_dist" = "debian" ]; then elif [ "$lsb_dist" = "debian" ]; then
apt-get -y install ca-certificates apt-transport-https apt-get -y install ca-certificates apt-transport-https
@ -387,7 +386,7 @@ repositories_setup(){
apt-get -y upgrade apt-get -y upgrade
apt-get -y autoremove apt-get -y autoremove
apt-get -y autoclean apt-get -y autoclean
apt-get -y install dnsutils curl apt-get -y install curl
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ]; then elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ]; then
if [ "$lsb_dist" = "fedora" ] ; then if [ "$lsb_dist" = "fedora" ] ; then
if [ "$dist_version" = "32" ]; then if [ "$dist_version" = "32" ]; then