* Remove the GDM3 settings, since the configuration format for GDM change again, yay. * Add a dconf file for the new-style GDM3 configuration. * Add a XML file describing the available resolutions for the background (for use with GNOME). * postinst: use a higher priority for the 1920x1080 background. * Cleanup postinst/prerm/postrm. * Add a new alternative: desktop-background.xml. * Use it from the gsettings override. * Reload gdm3 after installation/removal. * Drop old libgnome2-common hack. * Clean up an alternative that is no longer available.
19 lines
401 B
Bash
19 lines
401 B
Bash
#!/bin/sh -e
|
|
set -e
|
|
|
|
#DEBHELPER#
|
|
|
|
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
|
|
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
|
|
fi
|
|
|
|
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
|
|
if which update-grub2 > /dev/null ; then
|
|
update-grub2 || true
|
|
fi
|
|
if [ -x /usr/sbin/gdm3 ]; then
|
|
invoke-rc.d gdm3 reload || true
|
|
fi
|
|
fi
|
|
|