Turned issue #169 patch into a pull request
Created by: fmeynadier
In order to ease review and integration, I turned the patch provided by @bahram123 in #169 (closed) into a pull request, so additions/deletions appear clearly.
The original zip patch itself has been deployed here and behaves as acknowledged.
I took care to put the %TCLSH% and %LIBNETMAGIS% macros at the right places. Apart from that (+history update) I just copied the zip file. However I did not check that the whole installation process / packaging works smoothly.