Awn

[patch] Don't load twice the applets directory for 64 bits

Bug #129827 reported by Julien Lavergne
4
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Undecided
haytjes
Awn Extras
Fix Released
Undecided
haytjes

Bug Description

This is a simple patch to load only once the /usr/lib/awn/applets for 64 bits. I test it and he seems to work.

Tags: patch
Revision history for this message
Julien Lavergne (gilir) wrote :
haytjes (h4writer)
Changed in awn:
assignee: nobody → h4writer
status: New → In Progress
Revision history for this message
haytjes (h4writer) wrote :

Think this patch isn't that good. What if /usr/lib isn't a link to /usr/lib64 ??

I made a new patch, could you see if that solves the problem too?

Revision history for this message
haytjes (h4writer) wrote :

sorry made an typo in the patch. Here is the correct one

Revision history for this message
Julien Lavergne (gilir) wrote :

There is a problem in the indentation with your patch :
  File "/usr/bin/avant-applets", line 317
    if os.path.islink(d) and os.readlink(d) in dirs:
                                                   ^
IndentationError: unindent does not match any outer indentation level

Btw, in debian and ubuntu system, /usr/lib64 is just a link to /usr/lib (not /usr/lib to /usr/lib64). So /usr/lib always exist.

Revision history for this message
Julien Lavergne (gilir) wrote :

Also affect Awn Manager since they share this part of code

Revision history for this message
haytjes (h4writer) wrote :

I've made a mistake indeed. Normally this should solve the problem.

Revision history for this message
Julien Lavergne (gilir) wrote :

Ok, it's work with this patch. Thanks :)

haytjes (h4writer)
Changed in awn:
status: In Progress → Fix Released
haytjes (h4writer)
Changed in awn-extras:
assignee: nobody → h4writer
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.