postinst is in playmidi 2.4debian-10.
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 | #!/bin/sh -e
if [ "$1" = configure ]; then
. /usr/share/debconf/confmodule
db_get playmidi/options
echo "$RET" > /etc/playmidi/playmidi.conf
fi
# Automatically added by dh_installmime
if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
update-mime
fi
# End automatically added section
|