#!/bin/sh | |
set -e | |
case "$1" in | |
purge) | |
rm -f /etc/udev/rules.d/99-odroid-wiringpi-* | |
rm -f /etc/odroid-allowuser.sh | |
rm -f /etc/sudoers.d/odroid-wpi-sudoers | |
;; | |
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |
;; | |
*) | |
echo "postrm called with unknown argument \`$1'" >&2 | |
exit 1 | |
;; | |
esac | |
exit 0 |