File: fte.in

package info (click to toggle)
fte 0.50.2-1.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,696 kB
  • ctags: 6,486
  • sloc: cpp: 48,178; ansic: 2,795; perl: 808; sh: 112; makefile: 106
file content (17 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (9)
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 "$@"