summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-08-13 16:08:39 -0500
committerzachir <zachir@librem.one>2022-08-13 16:08:39 -0500
commitf10eb5a58e05ac084cca7730fc466b2580c55a72 (patch)
tree051c6970bd327a234694d19780456a743726faa9
parent9ecfa606ebabbaa3e5a77294bce125a157360880 (diff)
actually do sed -i to file in zirless
-rw-r--r--zirless.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/zirless.sh b/zirless.sh
index 262a7dd..df80651 100644
--- a/zirless.sh
+++ b/zirless.sh
@@ -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)