update debian packaging
This commit is contained in:
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
||||
use-x-terminal-emulator
|
19
debian/patches/use-x-terminal-emulator
vendored
Normal file
19
debian/patches/use-x-terminal-emulator
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
--- a/i3-sensible-terminal.O 2011-11-11 22:03:52.414218386 +0000
|
||||
+++ b/i3-sensible-terminal 2011-11-11 22:04:38.372020210 +0000
|
||||
@@ -1,13 +1,11 @@
|
||||
#!/bin/sh
|
||||
# This script tries to exec a terminal emulator by trying some known terminal
|
||||
# emulators.
|
||||
-#
|
||||
-# Distributions/packagers should enhance this script with a
|
||||
-# distribution-specific mechanism to find the preferred terminal emulator. On
|
||||
-# Debian, there is the x-terminal-emulator symlink for example.
|
||||
-# Please don't touch the first line, though:
|
||||
which $TERMINAL >/dev/null && exec $TERMINAL "$@"
|
||||
|
||||
+# Debian-specific: use x-terminal-emulator
|
||||
+which x-terminal-emulator >/dev/null && exec x-terminal-emulator "$@"
|
||||
+
|
||||
# Hopefully one of these is installed:
|
||||
which xterm >/dev/null && exec xterm "$@"
|
||||
which urxvt >/dev/null && exec urxvt "$@"
|
Reference in New Issue
Block a user