termux-packages/packages/paruz/paruz.patch

15 lines
313 B
Diff

--- a/paruz
+++ b/paruz
@@ -10,10 +10,8 @@
elif ! command -v pacman >/dev/null 2>&1; then
echo "Neither paru nor pacman found. Is this Arch?" >&2
exit 1
- elif [[ $EUID -eq 0 ]] || [[ -f /usr/bin/msys-2.0.dll ]]; then
- PARUZ=pacman
else
- PARUZ='sudo pacman'
+ PARUZ=pacman
fi
fi