File: postgresql-generic-postgis-scripts.prerm.in

package info (click to toggle)
postgis 3.5.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 69,528 kB
  • sloc: ansic: 162,229; sql: 93,970; xml: 53,139; cpp: 12,646; perl: 5,658; sh: 5,369; makefile: 3,435; python: 1,205; yacc: 447; lex: 151; pascal: 58
file content (19 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -eu

MAJOR_VERSION="3"
PGVERSION="@PGVERSION@"
DIR="/usr/share/postgresql/$PGVERSION/extension"

case $1 in
  remove)
    # remove our alternatives
    update-alternatives --remove postgresql-$PGVERSION-postgis.control $DIR/postgis-$MAJOR_VERSION.control

    ;;
esac

#DEBHELPER#

exit 0