mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-05 11:50:50 +01:00
Update cyberpanel.sh
This commit is contained in:
@@ -369,11 +369,13 @@ fi
|
||||
|
||||
install_required() {
|
||||
|
||||
if [[ $CENTOS_8 == "True" ]] ; then
|
||||
curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel8.repo > /etc/yum.repos.d/CyberPanel.repo
|
||||
dnf install zip -y
|
||||
elif [[ $CENTOS_8 == "False" ]] ; then
|
||||
curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel.repo > /etc/yum.repos.d/CyberPanel.repo
|
||||
if [[ -d /etc/yum.repos.d ]] ; then
|
||||
if [[ $CENTOS_8 == "True" ]] ; then
|
||||
curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel8.repo > /etc/yum.repos.d/CyberPanel.repo
|
||||
dnf install zip -y
|
||||
elif [[ $CENTOS_8 == "False" ]] ; then
|
||||
curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel.repo > /etc/yum.repos.d/CyberPanel.repo
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e "\nInstalling necessary components..."
|
||||
@@ -1576,4 +1578,4 @@ main_install
|
||||
|
||||
### Disable Centos Default Repos
|
||||
|
||||
disable_repos
|
||||
disable_repos
|
||||
|
||||
Reference in New Issue
Block a user