preinst is in xubuntu-default-settings 14.04.4.
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
case "$1" in
upgrade)
if dpkg --compare-versions "$2" eq "11.10.2"; then
update-alternatives --remove lightdm-config-derivative /usr/share/xubuntu/lightdm/lightdm.conf
update-alternatives --remove default-xsession-derivative /usr/share/xsessions/xubuntu.desktop
fi
;;
esac
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/xdg-xubuntu/xfce4/panel/indicator-5.rc 12.10.1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/xdg-xubuntu/xfce4/panel/datetime-7.rc 12.10.2~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper mv_conffile /etc/xdg/xdg-xubuntu/Terminal/terminalrc /etc/xdg/xdg-xubuntu/xfce4/terminal/terminalrc 13.04.0~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/xdg-xubuntu/Thunar/thunarrc 13.04.1~ -- "$@"
# End automatically added section
|