added postinstall/preuninstall scripts to make package is24 standards compliant