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