projects
/
kinect-audio-setup.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b9017
)
debian/postrm: remove /lib/firmware/ if it's empty
author
Antonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 14:36:28 +0000
(15:36 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Sat, 9 Jan 2016 14:36:28 +0000
(15:36 +0100)
This fixes a warning in piuparts: there are cases when this package is
the only installed one to use /lib/firmware.
debian/postrm
patch
|
blob
|
history
diff --git
a/debian/postrm
b/debian/postrm
index
eb8e315
..
c200457
100644
(file)
--- 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