Macintosh OSX WebPlayer plugin fix

Created For - Work

Created - May 28, 2016, 1:15 p.m.

Source available - Link

Language Used - Bash, Python

This bash script is designed to fix OSX machines who have issues with IBM's webplayer plugin not being recognized in the browser. The script was conceived of by my colleague Justin Albano, and he also wrote the initial Bash script. I made some modifications to the script and wrote the test suite.

In OSX, there are two possible locations for a browser plugin to be installed.

  • In the "root" level location, /Library/Internet Plug-Ins
  • In the "user" level location, /Users/{username}/Library/Internet Plug-Ins

So far, L2 support has seen instances where the user level plugin folder was missing, or had been renamed to something incorrect, as well as instances where only having the plugin in the "root" level or "user" level was causing issues. This script attempts to leave the machine in the following state:

  • "root" level plugin folder exists, and has the IBM Webplayer plugin "NPRTPluginLL.webplugin" present
  • "user" level plugin folder exists, and has the IBM Webplayer plugin "NPRTPluginLL.webplugin" present

The script comes with a comprehensive set of unit tests, written in Python. This is still a work in progress, as there are a few remaining issues to fix.

For the latest code, please see the BitBucket repo at this location.