Modifying docpurge

The N800 comes with a package called docpurge that deletes files which for most users are just cruft. I end up installing some packages that install stuff I actually want in places like /usr/share/doc. I want to keep them around, but I also don’t want them sucking up core memory either. Fortunately the script that cleans up the files is just a shell script that gets called by the package manager, its located at /usr/sbin/docpurge. I modified mine to check if the internal MMC card is present, and if so copy the files from /usr/share/doc out to the card before removing them. Good enough for what I want.

This entry was posted in Maemo, Open Source, ThisIsMobility. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">