File: fte

package info (click to toggle)
fte 0.46b5-4.2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,844 kB
  • ctags: 5,183
  • sloc: cpp: 39,445; ansic: 2,415; perl: 567; makefile: 71; sh: 30
file content (16 lines) | stat: -rw-r--r-- 277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if [ -n "$DISPLAY" ]; then
	if [ -x `which xfte` ]; then
		exec xfte "$@"
        else
		echo "Only Console version installed"
        fi
else
	if [ -x `which vfte` ]; then
        	exec vfte "$@"
        else
		echo "Only X-Window version installed"
        fi
fi