aboutsummaryrefslogtreecommitdiff
path: root/debian/preinst
blob: 13351fc3510bd40b2eb3995467a6b977b3d101b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

if [ -n "$2" ] && dpkg --compare-versions "$2" le "2018.01.29~"; then
	if which apt-key >/dev/null; then
		# ITZkS key directly imported to main keyring
		echo -n "Updating APT keyring - " && apt-key del 0xCBBFF2FC3F8F5540 || true
		# manually imported Geogebra key
		echo -n "Updating APT keyring - " && apt-key del 0xC072A32983A736CF || true
		# manually imported Grandorgue key
		echo -n "Updating APT keyring - " && apt-key del 0x3536C1B64FC39E69 || true
	fi
fi

#DEBHELPER#