Re: [debian-edu-commits] r81457 - in branches/wheezy/debian-edu-artwork: art/gdm-theme debian
[ Wolfgang Schweer ]
> * Configuration of gdm3:
> - Drop file /etc/gdm3/greeter.gsettings, as this approach fails, if
> gdm3 is installed after the artwork package; remove diversion.
> - Use schema override file to configure gdm3:
> - Call 'glib-compile-schemas /usr/share/glib-2.0/schemas/' to activate
> the overrides (function in script 'update-artwork').
As the failing code is in unstable (Holger uploaded), you also need to
add code in prerm/postinst to clean up the old diverts and get rid of
the old conffile during package upgrades. It is not enough to just
remove the divert code.
> Modified: branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.preinst
> --- branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.preinst 2013-07-07 22:10:55 UTC (rev 81456)
> +++ branches/wheezy/debian-edu-artwork/debian/debian-edu-artwork.preinst 2013-07-07 23:26:56 UTC (rev 81457)
> @@ -5,11 +5,6 @@
> if [ "$1" = install ] || [ $1 = upgrade ]
> dpkg-divert --package debian-edu-artwork --rename \
> - --divert /etc/gdm3/greeter.gsettings.edu-diverted \
> - --add /etc/gdm3/greeter.gsettings
> - dpkg-divert --package debian-edu-artwork --rename \
> --divert /usr/share/images/desktop-base/login-background.svg.edu-diverted \
> --add /usr/share/images/desktop-base/login-background.svg
Also, the #DEBHELPER# marker should stay.