#!/bin/sh

set -eu

MAJOR_VERSION="3"
PGVERSION="17"
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



exit 0
