Fix multilib setting
This commit is contained in:
parent
f21c082f2a
commit
4f8d89d011
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ gaming:
|
||||||
command: sudo cp /etc/pacman.conf /etc/pacman.conf.backup
|
command: sudo cp /etc/pacman.conf /etc/pacman.conf.backup
|
||||||
condition: "[ ! -e /etc/pacman.conf.backup ]"
|
condition: "[ ! -e /etc/pacman.conf.backup ]"
|
||||||
- run:
|
- run:
|
||||||
- LINESTART=$(grep -n multilib /etc/pacman.conf | cut -d: -f1 | head -n1);
|
- LINESTART=$(grep -n '\[multilib\]' /etc/pacman.conf | cut -d: -f1 | head -n1);
|
||||||
LINEEND=$((LINESTART+1));
|
LINEEND=$((LINESTART+1));
|
||||||
sudo sed -i "${LINESTART},${LINEEND} s/^#//" /etc/pacman.conf
|
sudo sed -i "${LINESTART},${LINEEND} s/^#//" /etc/pacman.conf
|
||||||
- install:
|
- install:
|
||||||
|
|
Loading…
Add table
Reference in a new issue