Signed-off-by: Steve Jeong <how2soft@gmail.com> Change-Id: Ia3cdc818a9156a4aaad346e63efdea6e32ab864b
22 lines
327 B
Bash
22 lines
327 B
Bash
#!/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
|