[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



Hi,

On Dienstag, 21. Oktober 2014, Wolfgang Schweer wrote:
> On Tue, Oct 21, 2014 at 02:19:16PM +0200, Wolfgang Schweer wrote:
> > On Tue, Oct 21, 2014 at 01:35:52PM +0200, Holger Levsen wrote:
> > > > Like it is now: the gnome-shell.css divert should be managed for all
> > > > d-e-artwork-* packages in the common package d-e-artwork, I guess.
> > > but it diverts to a file in the specififc packages, or?
> > yes.
> that should actually be no.
> the common package diverts gnome-shell.css

as described in my previous mail to this bug (from 5min ago), this doesnt work 
correctly atm.
 
> each of the theme packages links/unlinks its own file to gnome-shell.css
> this is done by update-debian-edu-artwork-*

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 
:-)

I've no idea how to fix this yet, though...


cheers,
	Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: