This file is indexed.

/usr/share/sadms-2.0.15/pre/_preinstall-debian.sh is in sadms 2.0.15.repack-0ubuntu2.

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
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# bbou@ac-toulouse.fr
# 2007-04-06
# _preinstall-debian.sh

### P A R A M S

package="$1"

### I N C L U D E

. ./_include.sh

### H E L P E R S

function debdeps()
{
	dpkg --info $1 | grep 'Depends:' | sed 's/Depends://' | sed 's/([^)]*)//g' | sed 's/, / /g'
}

### S T A R T

echo "+DEBIAN PACKAGES"
packages=`debdeps "${package}"`
for p in ${packages}; do
	echo -n "${p}"
	if ! ${PACKAGETEST} ${p} > /dev/null 2> /dev/null; then
		echo
		${PACKAGEINSTALL} -y ${p}
	else
		echo " OK"
	fi
done
echo '+end of debian preinstall'