postinst is in musescore 1.3+dfsg-1.
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
#xdg-icon-resource install --noupdate --context mimetypes --size 64 /usr/share/pixmaps/mscore.png application-x-musescore
#xdg-icon-resource install --noupdate --context mimetypes --size 64 /usr/share/pixmaps/mscore.png application-x-musescore+xml
xdg-icon-resource forceupdate
#xdg-mime default /usr/share/applications/mscore.desktop application/x-musescore
#xdg-mime default /usr/share/applications/mscore.desktop application/x-musescore+xml
update-desktop-database /usr/share/applications
# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
# End automatically added section
|