commit
b148f1cae8
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ programs).
|
||||||
|
|
||||||
## Customization
|
## 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),
|
[my dotfiles repo (voidrice) here](https://github.com/lukesmithxyz/voidrice),
|
||||||
but you can easily change this by either modifying the default variables at the
|
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:
|
beginning of the script or giving the script one of these options:
|
||||||
|
|
2
larbs.sh
2
larbs.sh
|
@ -122,7 +122,7 @@ pipinstall() { \
|
||||||
installationloop() { \
|
installationloop() { \
|
||||||
([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' | eval grep "$grepseq" > /tmp/progs.csv
|
([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' | eval grep "$grepseq" > /tmp/progs.csv
|
||||||
total=$(wc -l < /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
|
while IFS=, read -r tag program comment; do
|
||||||
n=$((n+1))
|
n=$((n+1))
|
||||||
echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"
|
echo "$comment" | grep "^\".*\"$" >/dev/null 2>&1 && comment="$(echo "$comment" | sed "s/\(^\"\|\"$\)//g")"
|
||||||
|
|
Loading…
Reference in a new issue