Yes, bug 138145 is probably quite easy to fix, but please post those comments on that on that bug instead of this one.
Also while I believe that your patch would work, it will install the wrapped plugin the wrong way. -n is used to prevent nspluginwrapper from creating symlinks as this is handeled by the alternatives system. The real problem is that update-alternatives is called with the wrong path, which my patch already fixes.
Yes, bug 138145 is probably quite easy to fix, but please post those comments on that on that bug instead of this one.
Also while I believe that your patch would work, it will install the wrapped plugin the wrong way. -n is used to prevent nspluginwrapper from creating symlinks as this is handeled by the alternatives system. The real problem is that update-alternatives is called with the wrong path, which my patch already fixes.