diff options
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 000000000..98825f605 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,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 + |