diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:08:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 12:08:39 +0000 |
commit | 039175d5d6adfc3f96e3ffdd5ee946576e22233a (patch) | |
tree | f1ba3073275e4441e417ed8b149729d0f5122884 /debian/postgresql-client-common.postrm | |
parent | Adding upstream version 225+deb11u1. (diff) | |
download | postgresql-common-039175d5d6adfc3f96e3ffdd5ee946576e22233a.tar.xz postgresql-common-039175d5d6adfc3f96e3ffdd5ee946576e22233a.zip |
Adding debian version 225+deb11u1.debian/225+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-client-common.postrm')
-rw-r--r-- | debian/postgresql-client-common.postrm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/postgresql-client-common.postrm b/debian/postgresql-client-common.postrm new file mode 100644 index 0000000..f416938 --- /dev/null +++ b/debian/postgresql-client-common.postrm @@ -0,0 +1,12 @@ +#!/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 + +#DEBHELPER# + |