libxft installation alone, prevent yay errors

This commit is contained in:
Luke Smith
2020-03-12 11:49:29 -04:00
parent 9ff0e43611
commit 26e585d159
2 changed files with 4 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ gitmakeinstall() {
aurinstall() { \
dialog --title "LARBS Installation" --infobox "Installing \`$1\` ($n of $total) from the AUR. $1 $2" 5 70
echo "$aurinstalled" | grep "^$1$" >/dev/null 2>&1 && return
yes | sudo -u "$name" $aurhelper -S "$1" >/dev/null 2>&1
sudo -u "$name" $aurhelper -S --noconfirm "$1" >/dev/null 2>&1
}
pipinstall() { \
@@ -208,6 +208,9 @@ manualinstall $aurhelper || error "Failed to install AUR helper."
# and all build dependencies are installed.
installationloop
dialog --title "LARBS Installation" --infobox "Finally, installing \`libxft-bgra\` to enable color emomis in suckless software without crashes." 5 70
yes | sudo -u "$name" $aurhelper -S libxft-bgra >/dev/null 2>&1
# Install the dotfiles in the user's home directory
putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch"
rm -f "/home/$name/README.md" "/home/$name/LICENSE"