This file is indexed.

preinst is in openoffice.org-l10n-nn 1:3.3.0-7ubuntu7.

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

set -e

# generated by regenerate-preinst

PKG=`basename ${0%.preinst}`

rm_docsymlink() {
	if [ -h ${1} ]
	then
		rm ${1}
	fi
}

case "$1" in upgrade)
	rm_docsymlink /usr/share/doc/${PKG}
esac