diff options
author | zachir <zachir@librem.one> | 2022-08-13 16:08:39 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-08-13 16:08:39 -0500 |
commit | f10eb5a58e05ac084cca7730fc466b2580c55a72 (patch) | |
tree | 051c6970bd327a234694d19780456a743726faa9 | |
parent | 9ecfa606ebabbaa3e5a77294bce125a157360880 (diff) |
actually do sed -i to file in zirless
-rw-r--r-- | zirless.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ permit :wheel nopass cmd loadkeys #ZIRLESS" >> /etc/doas.conf artixaddlib32repo() { # Enables the lib32 Artix repo dialog --infobox "Adding lib32 repo to Artix..." 4 50 - sed -E "s/^#(\[lib32\]])/\\1/;/#Include/d;/#[.*-gremlins]/d;/\[lib32\]/a Include = /etc/pacman.d/mirrorlist" /etc/pacman.conf + sed -E "s/^#(\[lib32\]])/\\1/;/#Include/d;/#[.*-gremlins]/d;/\[lib32\]/a Include = /etc/pacman.d/mirrorlist" -i /etc/pacman.conf pacman -Syy ;} artixadduniverserepo() { # Enables the universe repo (necessary to add Arch repos) |