postinst is in higan 094-6.
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
update-alternatives --install /usr/bin/higan higan /usr/bin/higan-balanced 70
update-alternatives --install /usr/bin/higan higan /usr/bin/higan-accuracy 40
update-alternatives --install /usr/bin/higan higan /usr/bin/higan-performance 40
# GNOME checks new .desktop files and only adds them to the menu if
# the command exists. Now it exists so trigger a new check by GNOME.
mv /usr/share/applications/higan.desktop /usr/share/applications/higan
mv /usr/share/applications/higan /usr/share/applications/higan.desktop
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
|