422cdde3f5a86ec22cef1ad44e59b66db6af80d1
[kinect-audio-setup.git] / debian / postrm
1 #!/bin/sh
2 # postrm script for kinect-audio-setup
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 case "$1" in
9     purge)
10         rm -rf /lib/firmware/kinect
11         # Because piuparts complains about /lib/firmware still there
12         rmdir --ignore-fail-on-non-empty -p /lib/firmware/
13     ;;
14
15     remove|upgrade|failed-upgrade|abort-upgrade|abort-install)
16     ;;
17
18     *)
19         echo "postrm called with unknown argument \`$1'" >&2
20         exit 1
21     ;;
22 esac
23
24 # dh_installdeb will replace this with shell code automatically
25 # generated by other debhelper scripts.
26
27 #DEBHELPER#
28
29 exit 0