File: courier-authlib-postgresql.postinst

package info (click to toggle)
courier-authlib 0.72.4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 14,820 kB
  • sloc: ansic: 15,828; sh: 5,047; cpp: 4,205; makefile: 854; perl: 761
file content (17 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

add_override() {
    if ! dpkg-statoverride --list $4 >/dev/null; then
	dpkg-statoverride --update --add $1 $2 $3 $4
    fi
}

if [ "$1" = "configure" ]; then
    add_override root courier 0640 /etc/courier/authpgsqlrc
fi

#DEBHELPER#

exit 0