mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-25 19:51:34 -05:00
Fixed RHEL repo setup
This commit is contained in:
parent
7574b80477
commit
288998802e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user