Fix repo check on SUSE

This commit is contained in:
2024-10-04 01:30:39 -04:00
parent 559c5eada5
commit 2538cbe26a

View File

@@ -1724,7 +1724,7 @@ main() {
fi fi
;; ;;
suse) suse)
if ! zypper repos | grep -q "X11:XOrg"; then if ! zypper repos | grep -q "X11_XOrg"; then
echo "Installing the X11 repository" echo "Installing the X11 repository"
execute sudo zypper --non-interactive --quiet addrepo \ execute sudo zypper --non-interactive --quiet addrepo \
"https://download.opensuse.org/repositories/X11:/XOrg/$OS_NAME/X11:XOrg.repo" "https://download.opensuse.org/repositories/X11:/XOrg/$OS_NAME/X11:XOrg.repo"