Skip to content

Commit

Permalink
add AlmaLinux in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
arian24b committed Feb 25, 2024
1 parent a567583 commit 8a7bbde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marzban.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ detect_and_update_package_manager() {
if [[ "$OS" == "Ubuntu"* ]] || [[ "$OS" == "Debian"* ]]; then
PKG_MANAGER="apt-get"
$PKG_MANAGER update
elif [[ "$OS" == "CentOS"* ]]; then
elif [[ "$OS" == "CentOS"* ]] || [[ "$OS" == "AlmaLinux"* ]]; then
PKG_MANAGER="yum"
$PKG_MANAGER update -y
$PKG_MANAGER install -y epel-release
Expand Down Expand Up @@ -98,7 +98,7 @@ install_package () {
colorized_echo blue "Installing $PACKAGE"
if [[ "$OS" == "Ubuntu"* ]] || [[ "$OS" == "Debian"* ]]; then
$PKG_MANAGER -y install "$PACKAGE"
elif [[ "$OS" == "CentOS"* ]]; then
elif [[ "$OS" == "CentOS"* ]] || [[ "$OS" == "AlmaLinux"* ]]; then
$PKG_MANAGER install -y "$PACKAGE"
elif [ "$OS" == "Fedora"* ]; then
$PKG_MANAGER install -y "$PACKAGE"
Expand Down

0 comments on commit 8a7bbde

Please sign in to comment.