mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
fix: multilib check in gaming setup (#689)
This commit is contained in:
parent
cd90bc0507
commit
04d97e4076
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user