commit f22dd1032c501dd90c85c3a32dcdfab2fcb38d8d parent 92de3d5ffd7fad9de33a6207baf43de8f7d938dd Author: Markus Hanetzok <markus@hanetzok.net> Date: Tue, 21 Mar 2023 10:05:18 +0100 Actually remove the AUR install functions Diffstat:
M | zerog | | | 16 | +--------------- |
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/zerog b/zerog @@ -55,18 +55,11 @@ suckless() { # Clone and install suckless programs for program in dwm st dmenu; do cd /home/"$name"/.local/src printf "Installing $program\n" - sudo -u "$name" git clone "$suckless/$program" >/dev/null 2>>"$logfile" || { error "Could not clone $program"; } + sudo -u "$name" git clone "$suckless"/"$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 } -git_install() { # Basically a temporary AUR helper - prog_name="$(basename $1 .git)" - sudo -u "$name" git clone "$1" /tmp/"$prog_name" >/dev/null 2>>"$logfile" || { error "AUR: Could not clone from source ($prog_name)"; } - cd /tmp/"$prog_name" - yes | sudo -u "$name" LANG=C makepkg -si >/dev/null 2>>"$logfile" || { error "Could not makepkg $prog_name"; } -} - follow_up() { printf "### Finishing touches ###\n" @@ -103,13 +96,6 @@ get_dotfiles suckless -# Git installs are disabled by default so you can choose if you want to install -# these packages from the AUR -# -# for repo in "$mwrepo" "$syntaxrepo"; do -# git_install "$repo" -# done - follow_up printf "###########################\n########## ZEROG ##########\n###########\