This file is indexed.

/usr/lib/rpm/check-prereqs is in rpm 4.12.0.2+dfsg1-2.

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
13
14
15
16
17
#!/bin/bash

bashit="/bin/bash --rpm-requires"

# Make sure that this bash has the rpm-requires hack
$bashit < /dev/null 2>&1 > /dev/null || exit $?

prereqs="`cat | $bashit | sort | uniq | sed -e 's/^bash(//' -e 's/)$//' -e 's/^executable(//' -e 's/)$//'`"
[ -z "$prereqs" ] && exit 0

for prereq in $prereqs
do
    case $prereq in
    /*)	echo $prereq ;;
    *)	echo "`which $prereq`" ;;
    esac
done | sort | uniq