This file is indexed.

preinst is in libdevmapper1.02.1 2:1.02.48-4ubuntu7.

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

if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" "<<" "2:1.02.24"; then
	update-rc.d -f libdevmapper1.02.1 remove >/dev/null || exit $?
	rm /etc/init.d/libdevmapper1.02.1
fi



exit 0