~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to debian/gnupg2.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2005-04-07 10:13:19 UTC
  • Revision ID: james.westby@ubuntu.com-20050407101319-rgc8m274vudkrfb9
Tags: 1.9.15-6
* Move gpg-protect-tool to the gpgsm package.
  Closes: #303492.
  High urgency because this renders gpgsm unuseable for some people.
* gpg-agent: Override max-cache-ttl if a higher default is set.
  Closes: #302692.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
case "$1" in
 
6
       configure|abort-upgrade|abort-remove|abort-deconfigure)
 
7
            if [ -x /usr/sbin/suidregister ]; then
 
8
                suidregister -s gpg2 /usr/bin/gpg2 root root 4755
 
9
            else
 
10
                chmod 4755 /usr/bin/gpg2
 
11
            fi
 
12
            ;;
 
13
esac
 
14