Dropped bash requirement, added robc's suggestion and also added the listing of .list file differences from the extension being audited and the one in the repo to draw attention to list file content differences when updating existing extensions. Particular attention in list file diffs is those of /usr/local/lib/lib.so.X number differences that often result in breakage of dependent apps when the extension being updated is a library one. This just raises a yellow flag on file content differences for the submitter to determine the relevance.
A version for 2.x and 3.x are attached to original post.