#!/bin/sh

set -e

if [ "$1" = purge ]; then
    # remove psql history file
    rm -f /var/lib/postgresql/.psql_history
    rmdir /var/lib/postgresql/ 2>/dev/null || true
fi

# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/postgresql-common/supported_versions 269\~ postgresql-client-common -- "$@"
# End automatically added section


