Comment 36 for bug 986841

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Here's my version of the workaround, it patches all the nppdf files only if they match the broken md5sum.
Just copy/paste all of it in a single line in a terminal and enter your password when prompted by the sudo command.

find /usr /opt -name '*nppdf*' | xargs md5sum | while read sum file; do if [ "$sum" = "5ca924df0f81f7b922f003a37b588a60" ]; then sudo sed 's@C:\\nppdf32Log\\debuglog.txt@//////////////////dev/null@' -i "$file"; echo "Patched $file $sum"; else echo "Skipped $file $sum"; fi; done

Example output:
Patched /usr/lib/mozilla/plugins/nppdf.so 5ca924df0f81f7b922f003a37b588a60
Patched /usr/lib/firefox-addons/plugins/nppdf.so 5ca924df0f81f7b922f003a37b588a60
Patched /usr/lib/firefox/plugins/nppdf.so 5ca924df0f81f7b922f003a37b588a60
Patched /opt/Adobe/Reader9/Browser/intellinux/nppdf.so 5ca924df0f81f7b922f003a37b588a60