zerog

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

commit 04fdf1d87b36307ba820904a87cb18df2eb20ead
parent f87a980d7c7912c725dc688510569cae249fea7d
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Mon, 22 Aug 2022 09:40:31 +0200

makepkg needs some affirmation

Diffstat:
Mzerog | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/zerog b/zerog @@ -88,7 +88,7 @@ git_install() { sudo -u "$name" git clone "$2" /tmp/"$1" >/dev/null 2>&1 || { warning "Could not clone $1"; return 1; } cd /tmp/"$1" - sudo -u "$name" makepkg -si >/dev/null 2>&1 || + yes | sudo -u "$name" makepkg -si >/dev/null 2>&1 || { warning "Could not makepkg $1"; return 1; } } @@ -125,6 +125,7 @@ suckless || # Git installs are disabled by default so you can choose if you want to install # these packages from the AUR +# # git_install libxft-bgra "$libxftrepo" || error "Could not install libxft-bgra" # git_install mutt-wizard "$mwrepo" || error "Could not install mutt-wizard"