summaryrefslogtreecommitdiffstats
path: root/debian/udev.postrm
blob: 24a5a4fc20bf8947d7ff3f96a8d450ab349439d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case "$1" in
  purge)
  rm -f /etc/udev/rules.d/70-persistent-*.rules
  rmdir --ignore-fail-on-non-empty /etc/udev/rules.d/ 2> /dev/null || true
  rm -f /lib/udev/hwdb.bin
  rm -f /var/log/udev
  ;;
esac

#DEBHELPER#