This bug also applies to the scripts that kernel-package uses in the generated packages. I suspect that the //g modifiers can generally be removed.
To see which regexps are duplicated and might not match as intended, run: for file in kernel/pkg/*/{post,pre}{inst,rm}; do echo $file: ; grep -o '/.*/[a-z]*g' $file | sort | uniq -cd done Ben. -- Ben Hutchings Humour is the best antidote to reality.
signature.asc
Description: This is a digitally signed message part