From 91ba14840fe30b262fe3d5b449eaa22829492e1f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 20 Dec 2018 11:54:26 -0500 Subject: [PATCH] progs lines can be commented --- .htaccess | 2 +- larbs.sh | 2 +- progs.csv | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 4324224..087f899 100644 --- a/.htaccess +++ b/.htaccess @@ -3,4 +3,4 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.html [NC,L] Redirect /larbs.sh https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/larbs.sh Redirect /arch.sh https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/testing/arch.sh - +ErrorDocument 404 /index.html diff --git a/larbs.sh b/larbs.sh index 0ad56ff..a5c4d17 100755 --- a/larbs.sh +++ b/larbs.sh @@ -93,7 +93,7 @@ aurinstall() { \ } installationloop() { \ - ([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" > /tmp/progs.csv + ([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) || curl -Ls "$progsfile" | sed '/^#/d' > /tmp/progs.csv total=$(wc -l < /tmp/progs.csv) aurinstalled=$(pacman -Qm | awk '{print $1}') while IFS=, read -r tag program comment; do diff --git a/progs.csv b/progs.csv index 34ab58b..7dec952 100644 --- a/progs.csv +++ b/progs.csv @@ -1,4 +1,4 @@ -TAG,NAME IN REPO (or git url),PURPOSE (should be a verb phrase to sound right while installing) +#TAG,NAME IN REPO (or git url),PURPOSE (should be a verb phrase to sound right while installing) ,i3-gaps,"is the main graphical user interface and window manager." ,xorg-server,"is the graphical server." ,xorg-xwininfo,"allows querying information about windows."