postinst is in wv 1.2.9-3.
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/sh
set -e
# Replace /usr/share/doc/wv with a symlink to .../libwv-1.2-3. See
# Bug#264606 for reasons why dpkg won't do this on its own. Due to
# the order of unpacking, doing this in the preinst would lead to an
# empty /usr/share/doc/libwv-1.2-3 directory.
if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl 1.2.1-1; then
rm -rf /usr/share/doc/wv
ln -sf libwv-1.2-4 /usr/share/doc/wv
fi
# (The above can be removed in etch+1.)
# Automatically added by dh_installmime
if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
update-mime
fi
# End automatically added section
|