This file is indexed.

/usr/share/phoronix-test-suite/pts-core/external-test-dependencies/scripts/install-ubuntu-packages.sh is in phoronix-test-suite 4.8.3-1.

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
18
19
20
21
22
23
#!/bin/sh
if [ `whoami` != "root" ] && [ ! -z "$DISPLAY" ]; then
	if [ -x /usr/bin/gksudo ]; then
		ROOT="/usr/bin/gksudo"
	elif [ -x /usr/bin/kdesudo ]; then
		ROOT="/usr/bin/kdesudo"
	elif [ -x /usr/bin/sudo ]; then
		ROOT="/usr/bin/sudo"
	fi
elif [ -z "$DISPLAY" ]; then
	sudo -- apt-get -y --ignore-missing install $*
else
	su -c "apt-get -y --ignore-missing install $*"
	exit
fi

if [ -x /usr/bin/aptitude ]; then
	# aptitude is nice since it doesn't fail if a non-existant package is hit
	# See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503215
	$ROOT -- "aptitude -y install $*"
else
	$ROOT -- su -c "apt-get -y --ignore-missing install $*"
fi