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."