You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
604 B
27 lines
604 B
#!/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."
|