~ubuntu-branches/ubuntu/oneiric/gnupg2/oneiric-updates

« back to all changes in this revision

Viewing changes to debian/gnupg2.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-10-04 10:25:53 UTC
  • mfrom: (5.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081004102553-fv62pp8dsitxli47
Tags: 2.0.9-3.1
* Non-maintainer upload.
* agent/gpg-agent.c: Deinit the threading library before exec'ing
  the command to run in --daemon mode. And because that still doesn't
  restore the sigprocmask, do that manually. Closes: #499569

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
 
 
15
 
#DEBHELPER#