File: fte.in

package info (click to toggle)
fte 0.50.2b6-20110708-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 3,768 kB
  • ctags: 6,761
  • sloc: cpp: 47,985; ansic: 2,795; sh: 112; makefile: 71; perl: 29
file content (17 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ ! -f $HOME/.fterc ]
then
    # Is there a .fte/mymain.fte ?  If not, create it.
    if [ ! -f $HOME/.fte/mymain.fte ]
    then
        if [ ! -d $HOME/.fte ]
        then
            mkdir $HOME/.fte
        fi
    	cp @@CONFIGDIR@@/mymain.fte $HOME/.fte/mymain.fte
    fi
    (cd @@CONFIGDIR@@; @@BINDIR@@/cfte mymain.fte $HOME/.fterc) || exit 1
fi

exec @@BINDIR@@/xfte "$@"