postinst is in fso-sounds-none 0.8.5.1-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 | #!/bin/sh
set -e
# Register the phone file with update-alternatives.
if [ "$1" = "configure" ]; then
update-alternatives \
--install \
/etc/freesmartphone/opreferences/conf/phone/default.yaml \
fso-frameworkd-default-sounds.yaml \
/usr/share/fso-sounds-rules/none.yaml \
20
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
|