postinst is in libxapian-ruby1.8 1.2.16-2ubuntu1.
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 | #!/bin/sh
set -e
docdir=/usr/share/doc/libxapian-ruby1.8
if [ ! -L "$docdir" -a -d "$docdir" ] ; then
rmdir "$docdir"
ln -s 'ruby-xapian' "$docdir"
fi
# dh_installdeb will replace the magic cookie below with any postinst actions
# generated by other debhelper scripts.
exit 0
|