From b9cd2eb78b9bbbc024cf108d1d11a033ae73de6e Mon Sep 17 00:00:00 2001 From: Jeremy Merle Date: Fri, 29 Nov 2019 12:13:02 +0100 Subject: [PATCH 1/2] Fix prog.csv link in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d899e64..219f397 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ programs). ## Customization -By default, LARBS uses the programs [here in progs.csv](archi3/progs.csv) and installs +By default, LARBS uses the programs [here in progs.csv](progs.csv) and installs [my dotfiles repo (voidrice) here](https://github.com/lukesmithxyz/voidrice), but you can easily change this by either modifying the default variables at the beginning of the script or giving the script one of these options: From 19272dec2b2cb4c9b207fd1f4dce34c2c7d1aa06 Mon Sep 17 00:00:00 2001 From: Jeremy Merle Date: Fri, 29 Nov 2019 12:15:13 +0100 Subject: [PATCH 2/2] Use --quiet arg for pacman and remove awk call --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 01d77da..c8c03f2 100644 --- a/larbs.sh +++ b/larbs.sh @@ -122,7 +122,7 @@ pipinstall() { \ installationloop() { \ ([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' | eval grep "$grepseq" > /tmp/progs.csv total=$(wc -l < /tmp/progs.csv) - aurinstalled=$(pacman -Qm | awk '{print $1}') + aurinstalled=$(pacman -Qqm) while IFS=, read -r tag program comment; do n=$((n+1)) echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"