This file is indexed.

/usr/src/gcc-7/debian/dh_rmemptydirs is in gcc-7-source 7.3.0-16ubuntu3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
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