mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-04 20:38:50 +01:00
15 lines
254 B
Bash
15 lines
254 B
Bash
#!/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
|
|
|