blob: 53c7d0cbce17bf7d3eecc6c6ca82f18fc4c2ffa7 (
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
|
#! /bin/sh
# preinst script for trinity-keyring
set -e
case "$1" in
install|upgrade)
if [ ! -f /etc/apt/trusted.gpg.d/trinity-keyring.gpg ] &&
[ -f /etc/apt/trusted.gpg ]; then
# Remove key F5CFC95C (2014.06.08) from apt keyring
apt-key --keyring /etc/apt/trusted.gpg del F5CFC95C 2> /dev/null || true
# Remove key 2B8638D0 (2010.06.15) from apt keyring
apt-key --keyring /etc/apt/trusted.gpg del 2B8638D0 2> /dev/null || true
fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
|