From 1f45e563987ce878b2eb0588e9edbdfdee67a847 Mon Sep 17 00:00:00 2001 From: JirakLu Date: Sat, 28 Sep 2024 10:01:31 +0200 Subject: [PATCH] fix: multilib check in gaming setup --- core/tabs/system-setup/gaming-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tabs/system-setup/gaming-setup.sh b/core/tabs/system-setup/gaming-setup.sh index 0e2782b8c..1f88e93e6 100755 --- a/core/tabs/system-setup/gaming-setup.sh +++ b/core/tabs/system-setup/gaming-setup.sh @@ -9,7 +9,7 @@ installDepend() { case "$PACKAGER" in pacman) #Check for multilib - if ! grep -q "^\s*$$multilib$$" /etc/pacman.conf; then + if ! grep -q "^\s*\[multilib\]" /etc/pacman.conf; then echo "[multilib]" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf echo "Include = /etc/pacman.d/mirrorlist" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf "$ESCALATION_TOOL" "$PACKAGER" -Syu