From: Antonio Ospite Date: Fri, 6 Dec 2013 16:59:54 +0000 (+0100) Subject: debian/postrm: do not try to remove /lib/firmware/ X-Git-Tag: debian/0.3-1~5 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/a270d216897b066ea432d6e122e3a349713d4673?hp=1e5abf44c319b2b6f4c0f38037f73f252e94c094 debian/postrm: do not try to remove /lib/firmware/ /lib/firmware/ is owned by udev, so it's not of our business to remove it; actually with recent piuparts it's not even there anymore when the package is purged as udev is removed before kinect-audio-setup. --- diff --git a/debian/postrm b/debian/postrm index ea092fa..eb8e315 100644 --- a/debian/postrm +++ b/debian/postrm @@ -8,8 +8,6 @@ set -e case "$1" in purge) rm -rf /lib/firmware/kinect - # Because piuparts complains about /lib/firmware still there - rmdir --ignore-fail-on-non-empty -p /lib/firmware/ if [ -e /usr/share/debconf/confmodule ]; then