This file is indexed.

preinst is in xlockmore-gl 1:5.31-1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

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
#!/bin/sh -e

case "$1" in
install | upgrade | abort-upgrade)
	if command -v suidunregister > /dev/null 2>&1 && [ -e /etc/suid.conf ]
	then
		suidunregister -s xlockmore /usr/X11R6/bin/xlock > /dev/null 2>&1
		suidunregister -s xlockmore-gl /usr/X11R6/bin/xlock > /dev/null 2>&1
	fi

	if [ -f /etc/X11/Xresources/XLock ]
	then
		mv /etc/X11/Xresources/XLock /etc/X11/Xresources/xlockmore
	fi
	;;
*)
	echo "$0: incorrect arguments: $*" >&2
	exit 1
	;;
esac