File: postgresql-client-common.postrm

package info (click to toggle)
postgresql-common 181%2Bdeb9u1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 1,252 kB
  • sloc: perl: 3,090; sh: 1,107; makefile: 62
file content (12 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
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#