postinst is in xemacs21 21.4.24-5ubuntu1.
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 | #!/bin/sh -e
set -e
if [ -e /usr/bin/xemacs21 ];then
update-alternatives --install /usr/bin/xemacs xemacs /usr/bin/xemacs21 -10 --slave /usr/share/man/man1/xemacs.1.gz xemacs.1.gz /usr/share/man/man1/xemacs.xemacs21.1.gz
update-alternatives --install /usr/bin/editor editor /usr/bin/xemacs21 -100
fi
|