The following commit has been merged in the master branch:
commit 592acec73887edf790e085da1912bade1bd3bd4b
Author: Giuseppe Iuculano <[email protected]>
Date: Mon Feb 16 09:40:24 2009 +0100
debian/patches/04-use_su-to-root.patch: Do not test for as su-to-root does
not require an X display
diff --git a/debian/patches/04-use_su-to-root.patch
b/debian/patches/04-use_su-to-root.patch
index 0315e20..34806bf 100644
--- a/debian/patches/04-use_su-to-root.patch
+++ b/debian/patches/04-use_su-to-root.patch
@@ -6,7 +6,7 @@ Use su-to-root if available
ADMINABLE=""
if [ "$USER" != "root" ]; then
- if [ -x /usr/bin/gksudo ] && [ ! -z "$DISPLAY" ]; then
-+ if [ -x /usr/sbin/su-to-root ] && [ ! -z "$DISPLAY" ]; then
++ if [ -x /usr/sbin/su-to-root ]; then
+ ROOT="/usr/sbin/su-to-root -c"
+ elif [ -x /usr/bin/gksudo ] && [ ! -z "$DISPLAY" ]; then
ROOT="/usr/bin/gksudo --description 'DKMS Debian package builder'
"
--
Maintainance of the dkms package
_______________________________________________
Pkg-dkms-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-commits