Update linutil-installer.sh

This commit is contained in:
solomoncyj 2024-10-16 08:05:17 +08:00 committed by GitHub
parent 182c8925ca
commit e855935301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,17 +32,17 @@ installLinutil() {
printf "%b\n" "setting up repos..." printf "%b\n" "setting up repos..."
if [$flavor == "Tumbleweed"] if [$flavor == "Tumbleweed"]
then then
zypper addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo "$ESCALATION_TOOL" "$PACKAGER" addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo
fi fi
if [$flavor == "Slowroll"] if [$flavor == "Slowroll"]
then then
zypper addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo "$ESCALATION_TOOL" "$PACKAGER" addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo
fi fi
printf "%b\n" "refreshing and installing" printf "%b\n" "refreshing and installing"
zypper refresh "$ESCALATION_TOOL" "$PACKAGER" refresh
zypper install linutil "$ESCALATION_TOOL" "$PACKAGER" install linutil
printf "%b\n" "${GREEN}Installed successfully.${RC}" printf "%b\n" "${GREEN}Installed successfully.${RC}"
;; ;;
*) *)