File: postgresql-client-common.postrm

package info (click to toggle)
postgresql-common 94lenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 624 kB
  • ctags: 97
  • sloc: perl: 2,268; sh: 220; makefile: 14
file content (10 lines) | stat: -rw-r--r-- 183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -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#