zerog

[archived] simple Parabola GNU/Linux post-install script
git clone git://git.hanetzok.net/zerog
Log | Files | Refs | README | LICENSE

commit 01c5086adcef7ccf89003aa3e8cf4a2c9819f4dc
parent e3d29a009cf91a5fd415a7c5a135fda6c26c5552
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Thu, 17 Nov 2022 13:47:57 +0100

Make suckless installs more generic

I renamed the repos for my suckless forks to make the script more
generic in case someone wants to use a custom source.

Diffstat:
Mprogs.list | 1+
Mzerog | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/progs.list b/progs.list @@ -57,6 +57,7 @@ openssh texlive-most unclutter pandoc +mpop cups cups-openrc avahi diff --git a/zerog b/zerog @@ -55,10 +55,10 @@ get_dotfiles() { # Download dotfiles and place them in $HOME suckless() { # Clone and install suckless programs printf "### Installing suckless software ###\n" - for program in dwm st dmenu slock surf; do + for program in dwm st dmenu; do cd /home/"$name"/.local/src printf "Installing $program\n" - sudo -u "$name" git clone "git://git.cybvik.xyz/$program-cybvik" >/dev/null 2>>"$logfile" || { error "Could not clone $program"; } + sudo -u "$name" git clone "git://git.cybvik.xyz/$program" >/dev/null 2>>"$logfile" || { error "Could not clone $program"; } cd "$program" && make clean install >/dev/null 2>>"$logfile" || { error "Could not install $program"; } done }