[Pkg-dkms-commits] [SCM] Maintainance of the dkms package branch, master, updated. debian/2.0.20.4-1-5-g592acec

Giuseppe Iuculano giuseppe at iuculano.it
Mon Feb 16 08:49:53 UTC 2009


The following commit has been merged in the master branch:
commit 592acec73887edf790e085da1912bade1bd3bd4b
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
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



More information about the Pkg-dkms-commits mailing list