4 if [ "$1" != "configure" ]; then
7 if [ -x "/etc/init.d/pazpar2" ]; then
8 update-rc.d pazpar2 defaults >/dev/null
9 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
10 invoke-rc.d pazpar2 start || exit $?
12 /etc/init.d/pazpar2 start || exit $?
14 ln -sf ../services-available/default.xml \
15 /etc/pazpar2/services-enabled/default.xml