I've just started a project with similar aims that emdebian. I should say better that my project needs something like emdebian to be possible. Anyway, the fact is that I've been working with localepurge and change it a little bit. I attach here my version. Basically, now it delete more files with care so apt won't complain on missing files. With this program, a 500kb adduser package becomes less than 100kb (too much anyway). About the useful files in /usr/share/doc, go see the /usr/share/doc/bash directory. That's why the script right now delete a set of well known files but can't remove everything there. I can count on that being bugs and happily delete everything there? I can post here a list of packages suspicious of having interesting data in /usr/share/doc if you like to push this issue in Debian mailing list (based on the packages installed in my desktop system, so not a strict test) About the name of the script, is just because of the name of my project, if you can name it whatever you like. emDebianpurge or something like that. -- Jordi Polo http://www.robotOS.org
Attachment:
purgeRobotOS
Description: application/shellscript
#################################################### # Uncommenting this string enables removal of localized # man pages based on the configuration information for # locale files defined below: MANDELETE #################################################### # Uncommenting this string causes localepurge to simply delete # locales which have newly appeared on the system without # bothering you about it: DONTBOTHERNEWLOCALE #################################################### # Uncommenting this string enables display of freed disk # space on every operation: SHOWFREEDSPACE #################################################### # Uncommenting this string enables display of the total # calculation of freed disk space: SHOWTOTALSPACE ##################################################### # Commenting out this string enables faster but less # accurate calculation of freed disk space: #QUICKNDIRTYCALC ##################################################### # Commenting out this string disables verbose output: #VERBOSE