Fixed missing variable definition in postinst, fixed missing function in postrm