The `merge` command does not combine pinstall/DEBIAN post/pre install script stuff
In most packages there are pinstall.sh or some other script that gets run after installation.
The pkg merge PKGNAME1,PKGNAME2,..
command does not combine these scripts into a single script to be included in the merged package.. currently it (probably) just overwrites each one..
Solution:
Look in pkg_combine
for code that combines these scripts, extract it out to a separate function, then use that function in the package merge function..