[neon/neon-packaging/plasma-remotecontrollers/Neon/unstable] debian: [ $(id -u) -eq 0 ];
Carlos De Maine
null at kde.org
Tue Jun 24 04:33:53 BST 2025
Git commit b140c97b002ee65da2a2d70afa8ac021a9d04ea3 by Carlos De Maine.
Committed on 24/06/2025 at 03:33.
Pushed by carlosdem into branch 'Neon/unstable'.
[ $(id -u) -eq 0 ];
M +1 -1 debian/plasma-remotecontrollers.postinst
https://invent.kde.org/neon/neon-packaging/plasma-remotecontrollers/-/commit/b140c97b002ee65da2a2d70afa8ac021a9d04ea3
diff --git a/debian/plasma-remotecontrollers.postinst b/debian/plasma-remotecontrollers.postinst
index 5844502..a9adc69 100644
--- a/debian/plasma-remotecontrollers.postinst
+++ b/debian/plasma-remotecontrollers.postinst
@@ -8,7 +8,7 @@ if ! getent group | grep -q ^plasma-bigscreen-uinput:; then
addgroup --quiet --system plasma-bigscreen-uinput 2>/dev/null || true
fi
-if (( $EUID == 0 )); then
+if [ $(id -u) -eq 0 ]; then
echo "You are running as root."
else
echo "You are not running as root."
More information about the Neon-commits
mailing list