5 if [ "$1" != configure ]; then exit 0; fi
7 update-alternatives --quiet --install /usr/bin/zebraidx zebraidx \
8 /usr/bin/zebraidx-2.0 50 \
9 --slave /usr/share/man/man1/zebraidx.1.gz zebraidx.1.gz \
10 /usr/share/man/man1/zebraidx-2.0.1.gz
12 update-alternatives --quiet --install /usr/bin/zebrasrv zebrasrv \
13 /usr/bin/zebrasrv-2.0 50 \
14 --slave /usr/share/man/man8/zebrasrv.8.gz zebrasrv.8.gz \
15 /usr/share/man/man8/zebrasrv-2.0.8.gz
17 if [ -x "/etc/init.d/zebrasrv" ]; then
18 update-rc.d zebrasrv defaults >/dev/null
19 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
20 invoke-rc.d zebrasrv start || exit $?
22 /etc/init.d/zebrasrv start || exit $?