]> git.sur5r.net Git - i3/i3/blobdiff - debian/patches/use-x-terminal-emulator.patch
i3-sensible-terminal: check $TERMINAL to not call 'which' without parameters (Thanks...
[i3/i3] / debian / patches / use-x-terminal-emulator.patch
index fd515c168d84a4f6c7e30271622a428d776ceeba..28e9200df49c85caf2fc785e62ffdef694f79cb8 100644 (file)
@@ -11,7 +11,7 @@
 -# 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 "$@"
[ -n "$TERMINAL" ] && which $TERMINAL >/dev/null && exec $TERMINAL "$@"
  
 +# Debian-specific: use x-terminal-emulator
 +which x-terminal-emulator >/dev/null && exec x-terminal-emulator "$@"