initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
10
debian/dh_rmemptydirs
vendored
Executable file
10
debian/dh_rmemptydirs
vendored
Executable file
@@ -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
|
Reference in New Issue
Block a user