add post/preun install  scripts.

M