File: postgresql-client-common.postrm

package info (click to toggle)
postgresql-common 113%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 688 kB
  • ctags: 100
  • sloc: perl: 2,249; sh: 387; makefile: 11
file content (12 lines) | stat: -rw-r--r-- 188 bytes parent folder | download | duplicates (13)
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#