#!/bin/sh -e case "$1" in remove|purge) if which apt-key >/dev/null; then apt-key del XXXXXXXXXX fi ;; esac