File: mb-applet-xterm-wrapper.sh

package info (click to toggle)
matchbox-panel 0.9.3-8.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,364 kB
  • ctags: 754
  • sloc: ansic: 6,331; sh: 794; makefile: 166
file content (15 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# This just wraps rxvt and xterm so a term gets launched ok.
# rxvt is the preference. This could be much improved
#

if [ -x /usr/X11R6/bin/rxvt ]; then
   exec /usr/X11R6/bin/rxvt;
else
   if [ -x /usr/bin/rxvt ]; then
      exec /usr/bin/rxvt;
   else
      exec xterm; 
   fi
fi