1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
gnupg/debian/postinst

15 lines
254 B
Plaintext
Raw Normal View History

#!/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