[pkg] fix osx flat package
for some reason, the previous script was not working on mojave (although the xar/cpio/gzip commands are still the same).
I took the opportunity to fix the installer size and add some customizations. tested in mojave.
for some reason, the previous script was not working on mojave (although the xar/cpio/gzip commands are still the same).
I took the opportunity to fix the installer size and add some customizations. tested in mojave.