postinst is in xchat 2.8.8-7.1ubuntu5.
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 | #!/bin/sh -e
if [ -d /usr/share/doc/xchat -a ! -L /usr/share/doc/xchat ]; then
rm -rf /usr/share/doc/xchat
ln -sf xchat-common /usr/share/doc/xchat
fi
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
|