This file is indexed.

/usr/src/gcc-7/debian/dh_doclink 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
11
12
#! /bin/sh

pkg=`echo $1 | sed 's/^-p//'`
target=$2

[ -d debian/$pkg/usr/share/doc ] || mkdir -p debian/$pkg/usr/share/doc
if [ -d debian/$pkg/usr/share/doc/$p -a ! -h debian/$pkg/usr/share/doc/$p ]
then
    echo "WARNING: removing doc directory  $pkg"
    rm -rf debian/$pkg/usr/share/doc/$pkg
fi
ln -sf $target debian/$pkg/usr/share/doc/$pkg