From 3f472a4e5ca21e3ddb13737473e636b2b11a408a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:22:56 +0200 Subject: Adding debian version 13.2.0-10. Signed-off-by: Daniel Baumann --- debian/dh_rmemptydirs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 debian/dh_rmemptydirs (limited to 'debian/dh_rmemptydirs') diff --git a/debian/dh_rmemptydirs b/debian/dh_rmemptydirs new file mode 100755 index 0000000..4a010c7 --- /dev/null +++ b/debian/dh_rmemptydirs @@ -0,0 +1,10 @@ +#! /bin/sh -e + +pkg=`echo $1 | sed 's/^-p//'` + +: # remove empty directories, when all components are in place +for d in `find debian/$pkg -depth -type d -empty 2> /dev/null`; do \ + while rmdir $d 2> /dev/null; do d=`dirname $d`; done; \ +done + +exit 0 -- cgit v1.2.3