r36371 - /desktop/unstable/gdm3/debian/gdm3.prerm

joss at users.alioth.debian.org joss at users.alioth.debian.org
Mon Nov 26 12:41:12 UTC 2012


Author: joss
Date: Mon Nov 26 12:41:11 2012
New Revision: 36371

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36371
Log:
Fix the grep line to take hostname into account (although it is probably 
useless).

Modified:
    desktop/unstable/gdm3/debian/gdm3.prerm

Modified: desktop/unstable/gdm3/debian/gdm3.prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/gdm3.prerm?rev=36371&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/gdm3.prerm [utf-8] (original)
+++ desktop/unstable/gdm3/debian/gdm3.prerm [utf-8] Mon Nov 26 12:41:11 2012
@@ -49,7 +49,7 @@
   if [ -x /etc/init.d/gdm3 ]; then
     nostop=
     for hostname in "" "localhost" "$(hostname)" "$(hostname -f)"; do
-      if echo $DISPLAY | egrep -q '^:[0-9](\.[0-9])?$'; then
+      if echo $DISPLAY | egrep -q "^$hostname:[0-9](\.[0-9])?$"; then
         nostop=yes
       fi
     done




More information about the pkg-gnome-commits mailing list