localepurge cannot be made to work outside /usr/share/locale

Bug #236183 reported by Kriston Rehberg
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
localepurge (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: localepurge

The localepurge command cannot be made to work outside /usr/share/locale.
While it is useful for cleaning /usr/share/locale it needs to be configurable to other locations such as /usr/local/share. The location appears to be hard-coded into the command and cannot be changed and used in other locations.

Tags: patch
Revision history for this message
Luc Pi (oluc) wrote :

Currently it looks at:
/usr/share/locale
/usr/share/man
/usr/share/gnome/help
/usr/share/omf

It could also look at the following folders:

/usr/share/help/
/usr/share/help-langpack/
/usr/share/locale-langpack/

Revision history for this message
Luc Pi (oluc) wrote :

This patch adds more directories to look at.
It is still hardcoded.

Of course because it deletes stuff as root, it must be double checked.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "localepurge-0.6.3ubuntu1_more-folders.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Rajiv Shah (rajivshah3)
Changed in localepurge (Ubuntu):
status: New → Confirmed
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for your work. As this package comes from Debian, can you please forward your fixes there? See https://wiki.ubuntu.com/Debian/Bugs.

(Unsubscribing sponsors, please feel free to resubscribe back if your fixes were accepted in Debian or if they don't respond).

Daniel Hahler (blueyed)
Changed in localepurge (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Wishlist
Revision history for this message
Daniel Hahler (blueyed) wrote :

@Luc
Can you forward your proposal and patch to Debian, please?
If you do not plan to do so, please leave a quick note.

I have found a somewhat related bug, which is about custom path/prefix handling: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545917

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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