back to paru

This commit is contained in:
Daylin Morgan 2023-09-26 11:53:27 -05:00
parent 1c37a176eb
commit 3f302c5ef3
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -36,7 +36,7 @@ updates_output() {
update_system() { update_system() {
echo echo
read -r -p "Would you like to update? (y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1 read -r -p "Would you like to update? (y/N): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1
pikaur -Syu --noedit --nodiff paru -Syu
} }
for opt in "$@"; do for opt in "$@"; do
@ -60,7 +60,7 @@ echo "fetching updates..."
echo echo
updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}')" updates_arch="$(checkupdates 2>/dev/null | awk '{print $1}')"
updates_aur="$(pikaur -Qua 2>/dev/null | awk '{print $1}')" updates_aur="$(paru -Qua 2>/dev/null | awk '{print $1}')"
updates_info="$(updates_output $notify)" updates_info="$(updates_output $notify)"
if [[ -z $updates_info ]]; then if [[ -z $updates_info ]]; then