systemd/debian/udev.postrm
Michael Biebl bf0c1602dd Remove "exit 0" from udev.postrm
Since we are using "set -e", adding "exit 0" at the end of the script
is superfluous.
2013-07-24 22:16:16 +02:00

12 lines
209 B
Bash

#!/bin/sh -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
;;
esac
#DEBHELPER#