blob: 2e4621b92a6248d8bf577ac3c73216d2491eb6d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
#
# simple wrapper shell script which selects appropriate fte executable
#
if [ -n "$DISPLAY" ]; then
if which xfte >/dev/null; then
exec xfte "$@"
elif which sfte >/dev/null; then
exec sfte "$@"
elif which vfte >/dev/null; then
echo "Only Console version installed!"
fi
else
if [ "$TERM" = linux ] && which vfte >/dev/null; then
exec vfte "$@"
elif which sfte >/dev/null; then
exec sfte "$@"
elif which xfte >/dev/null; then
echo "Only X-Window version installed!"
fi
fi
echo "No binary executable from the FTE family has been found!"
echo "Please install one of them."
|