[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#766088: debian-edu-artwork: Unable to upgrade from version 0.49-1 to 0.50-1



On Tue, Oct 21, 2014 at 10:52:58PM +0200, Holger Levsen wrote:
> 
> Yes, I've now seen the relevant code in debian/update-debian-edu-
> artwork-(lines|joy|spacefun) and it's won't correctly neither:
> 
> symlink_gnome_shell_css() {
>     if [ -f /usr/share/gnome-shell/theme/gnome-shell.css.edu-diverted ]; then
>         ln -fs /usr/share/gnome-shell/theme/debian-edu-${EDUTHEME}-gnome-
> shell.css /usr/share/gnome-shell/theme/gnome-shell.css
>     fi
> }
> 
> (this is called from postinst...)
> 
> So yes, this will work, when only artwork-lines or artwork-joy is installed. 
> But when both or all three are installed, these postinsts will be executed in 
> random order and the last one will "win". That's hardly the expected result 
> :-)

By default only debian-edu-artwork and debian-edu-artwork-lines are 
installed. Someone who needs/wants historic artwork will intentionally 
install d-e-artwork-joy or d-e-artwork-spacefun. This theme is activated 
then. So IMO no huge problem.

I found the above mentioned divert to be needed as:

- Gnome/gdm3 seems now to be different/not respecting configuration in 
  desktop-base like kdm and lightdm. 

- The gdm3 login screen seems to be already a (scriptable) 
  gnome-session, configured in 
  /usr/share/gnome-shell/theme/gnome-shell.css

- I was unable to find a way other than diverting to change the 
  background (configured as a small 'repeated' image in 'background') 
  inside the css file. This image fills up the whole screen (making up a  
  black background).

Maybe there's another way...

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: