[I'm opening this bug proxying for solar who's unable to connect to the zilla right now.] It would be nice if localepurge supported the ROOT variable so that it could be used during cross-building, and during post_src_install too. A working patch would be --- /usr/bin/localepurge 2008-12-07 07:09:23.000000000 +0000 +++ /usr/local/bin/localepurge.root 2008-12-07 07:08:59.000000000 +0000 @@ -154,7 +154,7 @@ # Getting rid of superfluous locale files in $LOCALEDIR: purgelocale () { - local LOCALEDIR="$1" + local LOCALEDIR="${ROOT}/$1" if [ -d $LOCALEDIR ]; then if [ "$SHOWFREEDSPACE" = "enabled" ]; then @@ -192,7 +192,7 @@ # Getting rid of localized man pages in $MANPAGEDIR purgeman () { - local MANPAGEDIR="$1" + local MANPAGEDIR="${ROOT}/$1" if [ -d $MANPAGEDIR ] && [ "`grep -x ^MANDELETE ${CONFIGFILE}`" ]; then if [ "$SHOWFREEDSPACE" = "enabled" ]; then
(In reply to comment #0) > It would be nice if localepurge supported the ROOT variable so that it could be > used during cross-building, and during post_src_install too. A working patch > would be > Bug #199286.
(In reply to comment #1) > (In reply to comment #0) > > It would be nice if localepurge supported the ROOT variable so that it could be > > used during cross-building, and during post_src_install too. A working patch > > would be > > > Bug #199286. Looks like this wouldn't be needed then If you disagree, feel free to reopen (or even commit it yourself as this is an orphan package)