Files
xpadneo-dkms/02-do-not-require-superuser.patch

14 lines
396 B
Diff
Raw Normal View History

2026-01-08 17:33:39 -06:00
--- lib/installer.sh.orig 2025-12-08 01:20:46.405846992 -0600
+++ lib/installer.sh 2025-12-08 01:21:01.287338783 -0600
@@ -1,10 +1,5 @@
#!/bin/bash
-if [ ${EUID} -ne 0 ]; then
- echo >&2 "ERROR: You most probably need superuser privileges to use this script, please run me via sudo!"
- exit 3
-fi
-
# shellcheck disable=SC2034
GIT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || true)