diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:35:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 13:35:12 +0000 |
commit | f06340a3d93a12d610416030f0b8c766bfee63ca (patch) | |
tree | 8d9c4eeec6afd2dc01aa6a17435a4f63c3e769d5 /debian/postgresql-client-common.postrm | |
parent | Adding upstream version 258. (diff) | |
download | postgresql-common-184c9b1d483e2dbdbcc05d15aa8356dc443f20f8.tar.xz postgresql-common-184c9b1d483e2dbdbcc05d15aa8356dc443f20f8.zip |
Adding debian version 258.debian/258
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# + |