summaryrefslogtreecommitdiff
path: root/courier-authlib/courier-authlib.install
blob: 4edf64cd4895fde91a286372936c50712498b737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# arg 1:  the new package version
post_install() {
   if ! (grep -q '^courier:.*:72:72:' /etc/passwd); then echo courier user has incorrect uid:gid - please fix!; fi;
  # make sure the system can see authlib libraries
  ldconfig
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
    post_install $1
}