ensure in correct dir when running postinstall