postinst is in ubuntustudio-default-settings 0.64.
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 19 20 21 22 23 24 25 | #! /bin/sh
set -e
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/default/grub.d/50_ubuntustudio.cfg 0.50~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/10-ubuntustudio.conf 0.59~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/50-ubuntustudio.conf 0.59~ -- "$@"
# End automatically added section
case "$1" in
configure)
# Update grub to apply possible name override
# and lowlatency patch
if [ -e /boot/grub/grub.cfg ] && which update-grub2 >/dev/null 2>&1; then
update-grub2
fi
;;
esac
|