File: postgresql-filedump.postinst

package info (click to toggle)
postgresql-filedump 17.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: ansic: 3,554; sql: 152; perl: 118; sh: 24; makefile: 23
file content (14 lines) | stat: -rw-r--r-- 276 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case $1 in
    configure)
        # remove previous hack that linked to /usr/lib/postgresql/*/bin
        if dpkg --compare-versions "$2" lt-nl 16.0; then
            update-alternatives --remove-all pg_filedump || :
        fi
        ;;
esac

#DEBHELPER#