* Made major, minor, and patch version sed logic much more bullet-proof.
* Made major, minor, and patch version sed logic much more bullet-proof.

* replaced arithmetic logic (not all shells have arithmetic evaluation)
with individual tests on major, minor and patch version.

svn path=/trunk/; revision=5518

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot