aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postinst
blob: 98825f6056878b0d7756c2e8b86c2b5c5dfd9952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case "$1" in
       configure|abort-upgrade|abort-remove|abort-deconfigure)
	    if [ -x /usr/sbin/suidregister ]; then
		suidregister -s gpg /usr/bin/gpg root root 4755
	    else
		chmod 4755 /usr/bin/gpg
	    fi
            ;;
esac