postinst is in lubuntu-default-settings 0.54.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #!/bin/sh -e
set -e
# Remove alternative file if it's not a symlink, workaround for broken upgrade
# See bug #625485
if [ -f /etc/alternatives/lxdm.conf ] ; then
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
rm -f "/etc/alternatives/lxdm.conf"
fi
fi
if [ "$1" = "configure" ] ; then
update-alternatives --install /etc/lxdm/default.conf \
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
fi
if dpkg-maintscript-helper supports mv_conffile; then
dpkg-maintscript-helper mv_conffile \
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf \
/etc/lightdm/lightdm-gtk-greeter.conf.d/30_lubuntu.conf \
0.44 -- "$@"
fi
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper mv_conffile /etc/xdg/pcmanfm/lubuntu.conf /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf 0.15 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/20-lubuntu.conf 0.40 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/20-lubuntu-nexus7.conf 0.40 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/20-lxgames.conf 0.40 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/lightdm/lightdm.conf.d/20-qlubuntu.conf 0.40 -- "$@"
# End automatically added section
exit 0
|