note about downloading solr dists
[lui-solr.git] / debian / masterkey-lui-solr5.prerm
1 #!/bin/sh -e
2
3 case "$1" in
4     remove|upgrade|remove|deconfigure)
5         # Stop lui-solr service
6         if [ -x "/etc/init.d/lui-solr" ]; then
7             invoke-rc.d lui-solr stop || exit $?
8         fi
9
10         ;;
11     failed-upgrade)
12         ;;
13
14     *)
15         echo "prerm called with unknown argument \`$1'" >&2
16         exit 1
17 esac
18
19 exit 0