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

if 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#