File: test.sh

package info (click to toggle)
idzebra 2.2.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,644 kB
  • sloc: ansic: 54,389; xml: 27,054; sh: 6,214; makefile: 1,099; perl: 210; tcl: 64
file content (12 lines) | stat: -rwxr-xr-x 270 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
test -d tmp || mkdir tmp
test -d lock || mkdir lock
echo Loading Records
if [ -x ../../index/zebraidx ]; then
	../../index/zebraidx init
	../../index/zebraidx update records
fi
echo Starting Server
if [ -x ../../index/zebrasrv ]; then
	../../index/zebrasrv
fi