From a07370f550c1975e172ce8253a8aee1cca8da962 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 21 Jul 2022 14:39:21 -0400 Subject: [PATCH] libxft-git failsafe, close #474 --- larbs.sh | 5 +++++ progs.csv | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 16b96f0..1a431ec 100755 --- a/larbs.sh +++ b/larbs.sh @@ -256,6 +256,11 @@ manualinstall yay || error "Failed to install AUR helper." # and all build dependencies are installed. installationloop +whiptail --title "LARBS Installation" \ + --infobox "Finally, installing the newest version of \`libxft\` to enable color emoji in suckless software without crashes." 8 70 +pacman -Qs libxft-git || + yes | sudo -u "$name" $aurhelper -S libxft-git >/dev/null 2>&1 + # Install the dotfiles in the user's home directory, but remove .git dir and # other unnecessary files. putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch" diff --git a/progs.csv b/progs.csv index b85686f..3d19734 100644 --- a/progs.csv +++ b/progs.csv @@ -1,4 +1,5 @@ #TAG,NAME IN REPO (or git url),PURPOSE (should be a verb phrase to sound right while installing) +A,libxft-git,"is a FreeType-based font drawing library for X" ,xorg-server,"is the graphical server." ,xorg-xwininfo,"allows querying information about windows." ,xorg-xinit,"starts the graphical server." @@ -66,4 +67,3 @@ A,mutt-wizard-git,"is a light-weight terminal-based email system." ,slock,"allows you to lock your computer, and quickly unlock with your password." ,socat,"is a utility which establishes two byte streams and transfers data between them." ,moreutils,"is a collection of useful unix tools." -A,libxft-git,"is a FreeType-based font drawing library for X"