On Jan 23, 2:53 am, esquifit <[email protected]> wrote: 

> Well, I suppose this means that I'll have to go through the nearly 200
> scripts I have installed and check one by one whether there is a
> metadata mismatch between the script and config.xml, and manually
> update the affected scripts to reflect the reality before attempting
> the upgrade to 0.9.

Hi, I had the same problem and decided to write a little Perl script to
automate the process. I wouldn't do it by hand because of all the
possible typos which could slip in.

I've uploaded the script here:
http://pastebin.com/17rfAt3y

As said, you need Perl and I only tested it under Linux. I have no idea
if this will work under Windows or MacOS.

The script reads the config.xml looks for the GM scripts, deletes the
@include and @exclude rules in the GM script and then put the rules from
config.xml into the appropiate GM script.

Before using the script, please close Firefox and make a backup of the
gm_script directory (just in case something is going wrong).

Then start the script with the gm_script directory as parameter. Under
Linux it's usually: /home/USER/.mozilla/firefox/PROFILE/gm_scripts
Where USER and PROFILE are the corresponding directory names.

I hope it helps, it made my life easier :)

And thanks to all GM developer for this great Add-On.

Greetings,
Michael Panteleit

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to