]> git.pld-linux.org Git - packages/kbd.git/blob - kbd-tty-detect.patch
- updated to 2.5.1
[packages/kbd.git] / kbd-tty-detect.patch
1 --- kbd-2.5.1/src/unicode_stop.orig     2022-08-20 19:58:25.772620769 +0200
2 +++ kbd-2.5.1/src/unicode_stop  2022-08-20 19:59:19.465663223 +0200
3 @@ -1,5 +1,7 @@
4  #!/bin/sh
5  
6 +[ -x /usr/bin/tty ] || exit 0
7 +
8  TTY=$(/usr/bin/tty)
9  case "$TTY" in
10         /dev/console|/dev/vc*|/dev/tty[0-9]*)
11 --- kbd-2.5.1/src/unicode_start.orig    2022-08-20 19:58:25.775954085 +0200
12 +++ kbd-2.5.1/src/unicode_start 2022-08-20 19:59:38.195561754 +0200
13 @@ -1,5 +1,7 @@
14  #!/bin/sh
15  
16 +[ -x /usr/bin/tty ] || exit 0
17 +
18  # 0. Check whether we're on a console
19  TTY=$(/usr/bin/tty)
20  case "$TTY" in
This page took 0.102593 seconds and 3 git commands to generate.