File: prerm

package info (click to toggle)
geoip-database-contrib 1.8
  • links: PTS, VCS
  • area: contrib
  • in suites: wheezy
  • size: 136 kB
  • sloc: sh: 119; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# prerm script for geoip-database-contrib

set -e

case "$1" in
    remove)
        update-alternatives --remove GeoIPCity.dat /usr/share/GeoIP/GeoLiteCity.dat
    ;;

    upgrade|deconfigure|failed-upgrade)
    ;;

    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0