From 9792bcbf038fd5dec7e0578419590cce26f5a5ce Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Mon, 11 Mar 2024 14:35:53 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/snigdhaos-updater/core-script b/common/snigdhaos-updater/core-script index 7085ca75..f9b14de1 100644 --- a/common/snigdhaos-updater/core-script +++ b/common/snigdhaos-updater/core-script @@ -194,7 +194,7 @@ fi 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[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"; }