Am Tue, 12 Jul 2005 01:11:44 -0700 schrieb [EMAIL PROTECTED]: > Hi Pythonistas, > > Here's my problem: I'm using a version of MOOX Firefox > (http://moox.ws/tech/mozilla/) that's been modified to run completely > from a USB Stick. It works fine, except when I install or uninstall an > extension, in which case I then have to physically edit the compreg.dat > file in my profile directory, replacing all instances of Absolute Path > links to relative ones. (And, yes, I have filed a Bugzilla report.) > > For example, after installing a new extension, I change in compreg.dat > > lines such as: > > abs:J:\Firefox\Firefox_Data\Profiles\default.uyw\extensions\{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}\components\nsForecastfox.js,1111185900000 > abs:J:\Firefox\Firefox_Data\Profiles\default.uyw\extensions\{c4dc572a-3295-40eb-b30f-b54aa4cdc4b7}\components\wml-service.js,1114705020000 > > to: > > rel:nsForecastfox.js,1111185900000 > rel:wml-service.js,1114705020000
Hi, some time ago I wrote "replace-recursive.py": http://www.thomas-guettler.de/scripts/replace_recursive.py.txt Maybe this helps you, Thomas -- Thomas Güttler, http://www.thomas-guettler.de/ -- http://mail.python.org/mailman/listinfo/python-list