diff --git a/larbs.sh b/larbs.sh index 1e469a9..ad7bc29 100644 --- a/larbs.sh +++ b/larbs.sh @@ -109,7 +109,8 @@ Include = /etc/pacman.d/mirrorlist-arch" >>/etc/pacman.conf manualinstall() { # Installs $1 manually. Used only for AUR helper here. # Should be run after repodir is created and var is set. - whiptail --infobox "Installing \"$1\", an AUR helper..." 7 50 + pacman -Qq "$1" && return 0 + whiptail --infobox "Installing \"$1\" manually." 7 50 sudo -u "$name" mkdir -p "$repodir/$1" sudo -u "$name" git -C "$repodir" clone --depth 1 --single-branch \ --no-tags -q "https://aur.archlinux.org/$1.git" "$repodir/$1" || @@ -330,7 +331,7 @@ echo "export \$(dbus-launch)" >/etc/profile.d/dbus.sh Option "Tapping" "on" EndSection' >/etc/X11/xorg.conf.d/40-libinput.conf -# All this below to get Librefox installed with add-ons and non-bad settings. +# All this below to get Librewolf installed with add-ons and non-bad settings. whiptail --infobox "Setting browser privacy settings and add-ons..." 7 60