From 3a63991e13b14e121b0f4b15132b3063bb0f7663 Mon Sep 17 00:00:00 2001 From: solomoncyj Date: Wed, 16 Oct 2024 08:19:38 +0800 Subject: [PATCH] Update linutil-installer.sh --- core/tabs/applications-setup/linutil-installer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/tabs/applications-setup/linutil-installer.sh b/core/tabs/applications-setup/linutil-installer.sh index 4b40c13c..d8cfd2bc 100755 --- a/core/tabs/applications-setup/linutil-installer.sh +++ b/core/tabs/applications-setup/linutil-installer.sh @@ -26,10 +26,10 @@ installLinutil() { printf "%b\n" "${GREEN}Installed successfully.${RC}" ;; zypper) - printf "%b\n" "Detecting flavor..." - flavor = [[zypper lr | grep -i "Tumbleweed"]] && echo "Tumbleweed" || echo "Slowroll" + printf "\n" "Detecting flavor..." + flavor = zypper lr | grep -i "Tumbleweed" && echo "Tumbleweed" || echo "Slowroll" printf "%b\n" " flavor detected is ${GREEN} ${flavor} ${RC}" - printf "%b\n" "setting up repos..." + printf "\n" "setting up repos..." if [$flavor == "Tumbleweed"] then "$ESCALATION_TOOL" "$PACKAGER" addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo