1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-09 05:01:33 -05:00

Fixed RHEL repo setup

This commit is contained in:
TommyTran732 2021-09-26 00:25:06 -04:00
parent 7574b80477
commit 288998802e
No known key found for this signature in database
GPG Key ID: 8825C3851DC29C20

View File

@ -262,7 +262,7 @@ repositories_setup(){
apt-get -y autoremove apt-get -y autoremove
apt-get -y autoclean apt-get -y autoclean
apt-get -y install curl apt-get -y install curl
elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ]; then elif [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ]; then
if [ "$lsb_dist" = "fedora" ] ; then if [ "$lsb_dist" = "fedora" ] ; then
dnf -y install http://rpms.remirepo.net/fedora/remi-release-34.rpm dnf -y install http://rpms.remirepo.net/fedora/remi-release-34.rpm
dnf -y install dnf-plugins-core python2 libsemanage-devel dnf -y install dnf-plugins-core python2 libsemanage-devel