From d718fe55ff522e61372917c66a7f9c1dd6189ab7 Mon Sep 17 00:00:00 2001 From: solomoncyj Date: Sun, 20 Oct 2024 17:22:07 +0800 Subject: [PATCH] Update linutil-installer.sh --- .../applications-setup/linutil-installer.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/core/tabs/applications-setup/linutil-installer.sh b/core/tabs/applications-setup/linutil-installer.sh index 06b3f120..fb005b83 100755 --- a/core/tabs/applications-setup/linutil-installer.sh +++ b/core/tabs/applications-setup/linutil-installer.sh @@ -26,25 +26,6 @@ installLinutil() { printf "%b\n" "${GREEN}Installed successfully.${RC}" ;; zypper) - printf '%s\n' 'detecting flavor' - if zypper lr | grep -Fq Tumbleweed - then flavor=Tumbleweed - else flavor=Slowroll - fi - - printf '%b%s%b\n' "flavor detected is ${GREEN}" "$flavor" "$RC" - printf "\n" "setting up repos" - case "$flavor" in - Tumbleweed) - "$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo - ;; - Slowroll) - "$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo - ;; - esac - - printf '%s\n' 'refreshing and installing' - "$ESCALATION_TOOL" "$PACKAGER" refresh "$ESCALATION_TOOL" "$PACKAGER" install linutil printf "%b\n" "${GREEN}Installed successfully.${RC}" ;;