fix: multilib check in gaming setup (#689)

This commit is contained in:
Lukáš Jirák 2024-09-28 20:47:48 +02:00 committed by GitHub
parent cd90bc0507
commit 04d97e4076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ installDepend() {
case "$PACKAGER" in case "$PACKAGER" in
pacman) pacman)
#Check for multilib #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 "[multilib]" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf
echo "Include = /etc/pacman.d/mirrorlist" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf echo "Include = /etc/pacman.d/mirrorlist" | "$ESCALATION_TOOL" tee -a /etc/pacman.conf
"$ESCALATION_TOOL" "$PACKAGER" -Syu "$ESCALATION_TOOL" "$PACKAGER" -Syu