File: liblucene2-java.prerm

package info (click to toggle)
lucene2 2.9.4%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 25,000 kB
  • ctags: 22,923
  • sloc: java: 166,802; xml: 5,752; sh: 756; perl: 601; jsp: 311; makefile: 67; csh: 4
file content (28 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
set -e

# prerm maintainer script for the Debian liblucene2-java package.
#
# summary of how this script can be called:
#       * <old-prerm> remove
#       * <old-prerm> upgrade <new-version>
#       * <new-prerm> failed-upgrade <old-version>
#       * <conflictor's-prerm> remove in-favour <package> <new-version>
#       * <deconfigured's-prerm> deconfigure in-favour <package-being-installed> <version>
#               removing <conflicting-package> <version>
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package

case "$1" in
  remove|upgrade)
        update-alternatives --remove lucli /usr/lib/liblucene2-java/lucli
        ;;
  *)
        ;;
esac

#DEBHELPER#

exit 0