Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-10-08 17:42:47 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-10-08 17:42:47 +0300
commitdcab4e6f9c9201972e22b941bf60af549b319856 (patch)
treec50165ca3f8162f45c235bb62d93f5fc76f65114 /install.sh
parente70305579345da3599f4d1a5dfbeee7f37744f75 (diff)
fix oracle
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 856adb85..2926f6b3 100644
--- a/install.sh
+++ b/install.sh
@@ -83,7 +83,7 @@ elif [[ "${release}" == "rocky" ]]; then
if [[ ${os_version} -lt 8 ]]; then
echo -e "${red} Please use Rocky Linux 8 or higher ${plain}\n" && exit 1
fi
-elif [[ "${release}" == "oracle" ]]; then
+elif [[ "${release}" == "ol" ]]; then
if [[ ${os_version} -lt 8 ]]; then
echo -e "${red} Please use Oracle Linux 8 or higher ${plain}\n" && exit 1
fi
@@ -112,7 +112,7 @@ install_base() {
ubuntu | debian | armbian)
apt-get update && apt-get install -y -q wget curl tar tzdata
;;
- centos | almalinux | rocky | oracle)
+ centos | almalinux | rocky | ol)
yum -y update && yum install -y -q wget curl tar tzdata
;;
fedora | amzn)