zerog

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

commit c66e672b3a5aa437fd654acde176924eff6926b7
parent b402853df949b71cb96cfd2f7803e772e9763c76
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Wed, 10 Aug 2022 08:05:48 +0200

Add xorg-macros needed for libxft

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

diff --git a/progs.list b/progs.list @@ -6,6 +6,7 @@ xclip xcape xdotool xorg-xdpyinfo +xorg-util-macros unzip ttf-liberation ueberzug diff --git a/zerog b/zerog @@ -9,6 +9,7 @@ dotfiles="git://git.cybvik.xyz/dotfiles" src="/home/$name/.local/src" giturl="git://git.cybvik.xyz" logfile="/tmp/zerog.log" +libxftrepo="https://github.com/uditkarode/libxft-bgra" ### FUNCTIONS ### @@ -68,13 +69,13 @@ suckless() { install_libxft-bgra() { printf "### Installing libxft-bgra for emoji support <3 ###\n" cd /tmp - sudo -u "$name" git clone https://github.com/uditkarode/libxft-bgra || + sudo -u "$name" git clone "$libxftrepo" >/dev/null 2>&1 || { warning "Could not clone libxft-bgra"; return 1; } cd libxft-bgra sudo -u "$name" sh autogen.sh --sysconfdir=/etc --prefix=/usr \ - --mandir=/usr/share/man || + --mandir=/usr/share/man >/dev/null 2>&1 || { warning "Could not run autgen.sh"; return 1; } - make install || + make install >/dev/null 2>&1 || { warning "Could not make install"; return 1; } }