mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +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
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user