#! /bin/sh | |
# postrm script for lib-i2c-dev | |
set -e | |
case "$1" in | |
remove|purge) | |
dpkg-divert --package libi2c-dev --rename --remove /usr/include/linux/i2c-dev.h | |
;; | |
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |
;; | |
*) | |
echo "postrm called with unknown argument \`$1'" >&2 | |
exit 0 | |
esac | |
# dh_installdeb will replace this with shell code automatically | |
# generated by other debhelper scripts. | |
#DEBHELPER# |