now using unset -f pre/post{install,remove} so that they do not get exported or globally set in any way