SOURCES: kbd-tty-detect.patch (NEW) - fail silently if there is no /usr/bin...
baggins
baggins at pld-linux.org
Thu Mar 12 17:51:30 CET 2009
Author: baggins Date: Thu Mar 12 16:51:30 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fail silently if there is no /usr/bin/tty (means /usr is not yet mounted)
---- Files affected:
SOURCES:
kbd-tty-detect.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kbd-tty-detect.patch
diff -u /dev/null SOURCES/kbd-tty-detect.patch:1.1
--- /dev/null Thu Mar 12 17:51:31 2009
+++ SOURCES/kbd-tty-detect.patch Thu Mar 12 17:51:25 2009
@@ -0,0 +1,20 @@
+--- kbd-1.15/src/unicode_stop~ 2008-04-08 19:57:20.000000000 +0200
++++ kbd-1.15/src/unicode_stop 2009-03-12 17:48:10.000000000 +0100
+@@ -1,5 +1,7 @@
+ #!/bin/sh
+
++[ -x /usr/bin/tty ] || exit 0
++
+ TTY="`/usr/bin/tty`"
+ case "$TTY" in
+ /dev/console|/dev/vc*|/dev/tty[0-9]*)
+--- kbd-1.15/src/unicode_start~ 2009-03-12 17:42:50.000000000 +0100
++++ kbd-1.15/src/unicode_start 2009-03-12 17:49:35.000000000 +0100
+@@ -1,5 +1,7 @@
+ #!/bin/sh
+
++[ -x /usr/bin/tty ] || exit 0
++
+ # 0. Check whether we're on a console
+ TTY="`/usr/bin/tty`"
+ case "$TTY" in
================================================================
More information about the pld-cvs-commit
mailing list