postinst is in gnome-settings-daemon 3.8.6.1-0ubuntu11.
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 42 43 44 45 | #! /bin/sh
set -e
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/gnome/config/Editres.ad 3.6.3-0ubuntu3~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/gnome/config/Emacs.ad 3.6.3-0ubuntu3~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/gnome/config/General.ad 3.6.3-0ubuntu3~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/gnome/config/Motif.ad 3.6.3-0ubuntu3~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/gnome/config/Tk.ad 3.6.3-0ubuntu3~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/gnome/config/Xaw.ad 3.6.3-0ubuntu3~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/dbus-1/system.d/org.gnome.SettingsDaemon.DateTimeMechanism.conf 3.6.4-0ubuntu7~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/xdg/autostart/gnome-fallback-mount-helper.desktop 3.8.6.1-0ubuntu9~ -- "$@"
# End automatically added section
# Remove obsolete conffiles
case "$1" in
configure)
if dpkg --compare-versions "$2" lt-nl "2.24.1"; then
rm -rf /etc/gnome/config/xrdb
fi
if dpkg --compare-versions "$2" lt-nl "2.26.1"; then
rm -f /etc/xdg/autostart/gnome-settings-daemon.desktop
fi
if dpkg --compare-versions "$2" lt-nl "3.6.3-0ubuntu3"; then
if [ -d /etc/gnome/config ]; then
rmdir --ignore-fail-on-non-empty /etc/gnome/config
fi
fi
esac
|