This file is indexed.

preinst is in docbook-xsl 1.78.1+dfsg-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
# preinst script for docbook-xsl
#
# see: dh_installdeb(1)

set -e

# Skip all this if compatibility symlink exists
if [ ! -h /usr/share/sgml/docbook/stylesheet/xsl/nwalsh ]; then

	# Remove nwalsh directory, if it exists
	if [ -d /usr/share/sgml/docbook/stylesheet/xsl/nwalsh ]; then
		rm -rf /usr/share/sgml/docbook/stylesheet/xsl/nwalsh
	fi

fi



exit 0