[debian-edu-commits] debian-edu/ 06/31: Fixed syntax error

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Tue Jun 10 23:27:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

ccscanf-guest pushed a commit to branch master
in repository killer.

commit 945bf85f5e2daab087b6b6dbd0a27478db9dac52
Author: José L. Redrejo Rodríguez <jredrejo at edu.juntaextremadura.net>
Date:   Tue Feb 26 09:50:47 2008 +0000

    Fixed syntax error
---
 debian/patches/x-console.dpatch | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/debian/patches/x-console.dpatch b/debian/patches/x-console.dpatch
index 030ec44..0a8deac 100644
--- a/debian/patches/x-console.dpatch
+++ b/debian/patches/x-console.dpatch
@@ -12,28 +12,28 @@ kdmuser :0           2008-01-22 15:58
 gdmuser tty7         2008-02-14 20:21 (:0)
 %
 
-
 @DPATCH@
 
---- killer-0.90~/killer	2008-02-26 10:19:41.000000000 +0100
-+++ killer-0.90/killer	2008-02-26 10:19:07.000000000 +0100
-@@ -877,9 +877,17 @@
+--- killer-0.90~/killer	2008-02-26 10:44:58.000000000 +0100
++++ killer-0.90/killer	2008-02-26 10:45:40.000000000 +0100
+@@ -876,10 +876,16 @@
+     while ( <W> ) {
  	chop;
  	@parts = split(/[ \t]+/);
- 	if ( $parts[1] eq 'console' ) {
-+	if ( $parts[1] eq 'console'
-+	     || $parts[1] eq ':0'        # kdm
-+	     || $parts[1] =~ '^tty\d$'   # gdm
-+           ) { 
- 	    $consoleuser = $parts[0];
+-	if ( $parts[1] eq 'console' ) {
+-	    $consoleuser = $parts[0];
 -	}
 -	$self->initializeTty($parts[1], stat("/dev/" . $parts[1]));
-+	    $tty2idletime{$parts[1]}=0;
-+        push (@{$user2ttys{$consoleuser}},  $parts[1]);
-+        } else {
-+        $self->initializeTty($parts[1], stat("/dev/" . $parts[1]));
-+		}
-+
++        if ( $parts[1] eq 'console'
++             || $parts[1] eq ':0'        # kdm
++             || $parts[1] =~ '^tty\d$'   # gdm
++           ) {
++            $consoleuser = $parts[0];
++            $tty2idletime{$parts[1]}=0;
++            push (@{$user2ttys{$consoleuser}},  $parts[1]);
++            } else {
++            $self->initializeTty($parts[1], stat("/dev/" . $parts[1]));
++            }
      }
      close(W);
  }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/killer.git



More information about the debian-edu-commits mailing list