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-05-09 20:49:15 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-09 20:49:15 +0300
commit2f02b71ed4110465e227e27e08e954ab8654d90d (patch)
treef47348c353c1a181ae18f409ebd8bf49a11afff6
parent559aad9967ec89cf0ddc3c5baa0bcda0f6a7c226 (diff)
OS - Parch , OpenSUSE
-rw-r--r--install.sh3
-rw-r--r--x-ui.sh6
2 files changed, 9 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index b4a54289..19944b4d 100644
--- a/install.sh
+++ b/install.sh
@@ -100,6 +100,9 @@ fi
install_base() {
case "${release}" in
+ ubuntu | debian | armbian)
+ apt-get update && apt-get install -y -q wget curl tar tzdata
+ ;;
centos | almalinux | rocky | oracle)
yum -y update && yum install -y -q wget curl tar tzdata
;;
diff --git a/x-ui.sh b/x-ui.sh
index ddb4017b..56761782 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -40,10 +40,14 @@ os_version=$(grep -i version_id /etc/os-release | cut -d \" -f2 | cut -d . -f1)
if [[ "${release}" == "arch" ]]; then
echo "Your OS is Arch Linux"
+elif [[ "${release}" == "parch" ]]; then
+ echo "Your OS is Parch linux"
elif [[ "${release}" == "manjaro" ]]; then
echo "Your OS is Manjaro"
elif [[ "${release}" == "armbian" ]]; then
echo "Your OS is Armbian"
+elif [[ "${release}" == "opensuse-tumbleweed" ]]; then
+ echo "Your OS is OpenSUSE Tumbleweed"
elif [[ "${release}" == "centos" ]]; then
if [[ ${os_version} -lt 8 ]]; then
echo -e "${red} Please use CentOS 8 or higher ${plain}\n" && exit 1
@@ -80,11 +84,13 @@ else
echo "- CentOS 8+"
echo "- Fedora 36+"
echo "- Arch Linux"
+ echo "- Parch Linux"
echo "- Manjaro"
echo "- Armbian"
echo "- AlmaLinux 9+"
echo "- Rocky Linux 9+"
echo "- Oracle Linux 8+"
+ echo "- OpenSUSE Tumbleweed"
exit 1
fi