summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/metapackages/trinity-keyring/debian/postinst
blob: 1da9ae7ae5b11e56907b19accd792d578b390eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
# postinst script for trinity-keyring

set -e

case "$1" in
    configure)
      if [ -x /usr/bin/apt-key ]; then
        # Key F5CFC95C (2014.06.08)
        apt-key add /usr/share/keyrings/trinity-keyring.gpg > /dev/null

        # Key 2B8638D0 (2010.06.15)
        apt-key del 2B8638D0 2> /dev/null || true
      fi
    ;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0