FS#16743 - Adding optional localepurge support after system update

Attached to Project: Pacman
Opened by Dario (DmA) - Monday, 19 October 2009, 19:33 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 11:29 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Hi all. Debian (and derivated distributions) integrates quite deeply the localepurge script in the package update process: after every dist-upgrade, apt takes care to run localepurge, deleting the unneeded locale files for the new packages. Especially at first run, it could free several megabytes of precious filesystem space :) .

I think it would be nice if Arch could support a similar system. The localepurge package is in AUR, the user has choice (and responsability) to install and configure it.
Pacman could detect the presence of the main localepurge script and execute it after a successful -Su.
The execution should be subordinated to a configuration parameter in /etc/pacman.conf (just to be sure :) ).

Sorry for the eventual bad english.

This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 22 April 2012, 11:29 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Implement hooks:  FS#2985 
Comment by Aaron Griffin (phrakture) - Monday, 19 October 2009, 20:05 GMT
  • Field changed: Attached to Project (Arch Linux → Pacman)
Moved to the Pacman project
Comment by Dan McGee (toofishes) - Tuesday, 20 October 2009, 00:49 GMT
Sounds like this is hooks related. :)
Comment by Dan McGee (toofishes) - Tuesday, 20 October 2009, 00:50 GMT
  • Field changed: Status (Unconfirmed → Researching)
  • Field changed: Category (System → Backend/Core)
  • Field changed: Reported Version ( → 3.3.2)
  • Field changed: Architecture (All → All)
Comment by Dario (DmA) - Tuesday, 20 October 2009, 06:47 GMT
Yeah, I thinked the same. It would be way more elegant and simple.

Loading...