Debian Codegraph @

debian/s-nail.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 . /usr/share/debconf/confmodule
6 db_version 2.0
7
8 if [ "$1" = "configure" ]; then
9 chgrp mail /usr/libexec/s-nail-dotlock
10
11 db_get s-nail/setgid-dotlock
12 if [ "$RET" = true ]; then
13 chmod 2755 /usr/libexec/s-nail-dotlock
14 else
15 chmod 0755 /usr/libexec/s-nail-dotlock
16 fi
17 fi
18
19 #DEBHELPER#