Bug#803894: localepurge: locale tt not purged

2019-08-04 Thread Miguel Figueiredo

Package: localepurge
tags: patch

Using ? instead of * will match 1 time only.

-echo $(grep --invert-match --extended-regexp '^[ \t]*(#|$)' 
$NOPURGECONF)
+echo $(grep --invert-match --extended-regexp '^[ \t]?(#|$)' 
$NOPURGECONF)



-localelist=$(grep --invert-match --extended-regexp '^[ \t]*(#|$)' 
$LOCALELIST)
+localelist=$(grep --invert-match --extended-regexp '^[ \t]?(#|$)' 
$LOCALELIST)


--
Best regards / Melhores cumprimentos,

Miguel Figueiredo



Bug#803894: localepurge: locale tt not purged

2015-11-02 Thread Daniele Forsi
Package: localepurge
Version: 0.7.3.4
Severity: normal

Dear Maintainer,

the directories inside the tt locale aren't deleted because they are ignored by 
the grep lines

161:echo $(grep --invert-match --extended-regexp '^[ \t]*(#|$)' 
$NOPURGECONF)
165:localelist=$(grep --invert-match --extended-regexp '^[ \t]*(#|$)' 
$LOCALELIST)

You can check that using GNU grep in bash this:
 echo tt | grep --invert-match --extended-regexp '^[ \t]*(#|$)'
prints nothing while it should print tt.

The directories inside tt@iqtelif and tt_RU are deleted as expected.

Thanks,
Daniele