From 8f62cc9e2d0024d7bc47e5b2cf71c6b6d58ad4aa Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 9 Jan 2016 15:36:28 +0100 Subject: [PATCH] debian/postrm: remove /lib/firmware/ if it's empty This fixes a warning in piuparts: there are cases when this package is the only installed one to use /lib/firmware. --- debian/postrm | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/postrm b/debian/postrm index eb8e315..c200457 100644 --- a/debian/postrm +++ b/debian/postrm @@ -8,6 +8,7 @@ set -e case "$1" in purge) rm -rf /lib/firmware/kinect + rmdir --ignore-fail-on-non-empty --parents /lib/firmware/ || true if [ -e /usr/share/debconf/confmodule ]; then -- 2.1.4