From 5172bcd9528d31b7454e6e57e66b9c27fc9c41e3 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Mon, 11 Mar 2024 14:35:41 +0530 Subject: [PATCH] =?UTF-8?q?@eshanized=20pushed=20another=20commit=20via=20?= =?UTF-8?q?script=20=F0=9F=94=A5=F0=9F=94=A5=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/snigdhaos-updater/core-script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/snigdhaos-updater/core-script b/common/snigdhaos-updater/core-script index ffd605ff..7085ca75 100644 --- a/common/snigdhaos-updater/core-script +++ b/common/snigdhaos-updater/core-script @@ -196,13 +196,13 @@ do_update if [[ -v UPDATE_AUR ]]; then # Check for AUR helper if [ -x /usr/bin/paru ] && [[ -n "$SUDO_UID" ]]; then - echo -e "\n\033[1;33m-->\033[1;34m Updating AUR packages with paru..\033[0m" + echo -e "\n\033[1;33m-->\033[0;34m Updating AUR packages with paru..\033[0m" sudo -u "#$SUDO_UID" paru -Sua || { echo -e "\033[1;31m\nParu exited with error code $?\n\033[0m"; } elif [ -x /usr/bin/yay ] && [[ -n "$SUDO_UID" ]]; then - echo -e "\n\033[1;33m-->\033[1;34m Updating AUR packages with yay..\033[0m" + echo -e "\n\033[0;33m-->\033[0;34m Updating AUR packages with yay..\033[0m" sudo -u "#$SUDO_UID" yay -Sua || { echo -e "\033[1;31m\nYay exited with error code $?\n\033[0m"; } else - echo -e "\n\033[1;33m--> UPDATE_AUR specified but no supported AUR helper found ❌\033[0m" + echo -e "\n\033[0;33m--> UPDATE_AUR specified but no supported AUR helper found ❌\033[0m" fi $INT fi