commit 587fd3e961919b577fba9aa0c50e02e279a35c56
parent 675880f101f9ffe43554ce05df6fa6f2fc26e34b
Author: Markus Hanetzok <markus@hanetzok.net>
Date: Tue, 20 Dec 2022 13:14:08 +0100
Adjust source for zerog files download from cybvik.xyz
Diffstat:
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/README b/README
@@ -11,7 +11,7 @@ Usage
-----
Install Parabola on your system then run:
- curl -O cybvik.xyz/files/zerog
+ curl -O https://cybvik.xyz/zerog/zerog
chmod +x ./zerog
sudo ./zerog
diff --git a/zerog b/zerog
@@ -3,7 +3,7 @@
### VARIABLES ###
name="$(logname)"
-progs="git.cybvik.xyz/zerog/files/progs.list.html"
+progs="git.cybvik.xyz/zerog/progs.list"
dotfiles="git://git.cybvik.xyz/dotfiles"
logfile="/tmp/zerog.log"
suckless="git://git.suckless.org"
@@ -36,8 +36,7 @@ prepare() {
sed -Ei "s/^#(ParallelDownloads).*/\1 = 5/;/^#Color$/s/#//" /etc/pacman.conf
# Get progs.list
- cd /tmp && curl -O "$progs" && sed -i 's/<.*>//g; /.*Parabola.*/d; /^$/d' /tmp/progs.list.html || { error "Could not download progs.list"; }
- mv /tmp/progs.list.html /tmp/progs.list
+ cd /tmp && curl -O "$progs" || { error "Could not download progs.list"; }
}
install_programs() { # Read from progs.list and install each entry