Update linutil-installer.sh

This commit is contained in:
solomoncyj 2024-10-18 22:58:46 +08:00 committed by GitHub
parent 084cd0f116
commit dc93e74b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,15 +34,14 @@ installLinutil() {
printf '%b%s%b\n' "flavor detected is ${GREEN}" "$flavor" "$RC" printf '%b%s%b\n' "flavor detected is ${GREEN}" "$flavor" "$RC"
printf "\n" "setting up repos" printf "\n" "setting up repos"
if [ "$flavor" = Tumbleweed ] case "$flavor" in
then Tumbleweed)
"$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo "$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Tumbleweed/home:solomoncyj.repo
fi ;;
Slowroll)
if [ "$flavor" = Slowroll ]
then
"$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo "$ESCALATION_TOOL" "$PACKAGER" --gpg-auto-import-keys addrepo https://download.opensuse.org/repositories/home:solomoncyj/openSUSE_Slowroll/home:solomoncyj.repo
fi ;;
esac
printf '%s\n' 'refreshing and installing' printf '%s\n' 'refreshing and installing'
"$ESCALATION_TOOL" "$PACKAGER" refresh "$ESCALATION_TOOL" "$PACKAGER" refresh