preinst is in libkpathsea-dev 2009-11ubuntu2.
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 | #!/bin/sh -e
# libkpathsea-dev.preinst.pre
# created 2008 by the Debian TeX Task Force
# probably not copyrightable as it looks now, but anyway the code maybe
# freely copied, distributed and/or modified
# remove link of doc file as shipped with up to version 3.0
if [ -L /usr/share/doc/libkpathsea-dev ] ; then
if [ "$(readlink -n /usr/share/doc/libkpathsea-dev)" = libkpathsea4 ] ; then
rm /usr/share/doc/libkpathsea-dev
fi
fi
|