---
usr/sbin/localepurge | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/usr/sbin/localepurge b/usr/sbin/localepurge
index 453cafa..fbe0722 100755
--- a/usr/sbin/localepurge
+++ b/usr/sbin/localepurge
@@ -236,7 +236,7 @@ function spaceafter ()
################################################################
## Now, get the job done
-for LDIR in
/usr/share/{locale,man,gnome/help,omf,doc/kde/HTML,calendar,i18n/locales,tcltk,cups/{templates,locale,doc-root}};
do
+for LDIR in
/usr/share/{locale,man,gnome/help,omf,doc/kde/HTML,calendar,i18n/locales,aptitude,tcltk,cups/{templates,locale,doc-root}};
do
if [ ! -d "$LDIR" ]; then continue; fi
spacebefore "$LDIR"
case "$LDIR" in
@@ -248,6 +248,30 @@ for LDIR in
/usr/share/{locale,man,gnome/help,omf,doc/kde/HTML,calendar,i18n/loc
remove_superfluous_files "$locale" "$LDIR/$file"
done ;;
+ /usr/share/aptitude)
+ ((VERBOSE)) && echo "localepurge: processing aptitude files ..."
+ for file in $(cd "$LDIR"; echo aptitude-defaults.??*); do
+ locale=${file##aptitude-defaults.}
+ remove_superfluous_files "$locale" "$LDIR/$file"
+ done
+
+ for file in $(cd "$LDIR"; echo README.*); do
+ locale=${file##README.}
+ remove_superfluous_files "$locale" "$LDIR/$file"
+ done
+
+ for file in $(cd "$LDIR"; echo help-*); do
+ locale=${file##help-}
+ locale=${locale%%.txt}
+ remove_superfluous_files "$locale" "$LDIR/$file"
+ done
+
+ for file in $(cd "$LDIR"; echo mine-help-*); do
+ locale=${file##mine-help-}
+ locale=${locale%%.txt}
+ remove_superfluous_files "$locale" "$LDIR/$file"
+ done ;;
+
/usr/share/calendar)
((VERBOSE)) && echo "localepurge: processing calendar files ..."
for locale in $(cd "$LDIR"; echo ??_*); do
--
1.7.10
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]