<div dir="ltr">2014-10-23 1:57 GMT+02:00 Luc J. Bourhis <span dir="ltr"><<a href="mailto:luc_j_bourhis@mac.com" target="_blank">luc_j_bourhis@mac.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am I missing something or there is no equivalent of<br>
CPACK_RPM_PRE_INSTALL_SCRIPT_FILE to specify %preun or %postun?<br>
<br></blockquote><div><br></div><div>The variables are missing in documentation but they exist.<br></div><div> </div><div>For %preun you can set CPACK_RPM_PRE_UNINSTALL_READ_FILE or  CPACK_RPM_<component>_PRE_UNINSTALL_SCRIPT_FILE for component packaging.<br>For %postun you can set CPACK_RPM_POST_UNINSTALL_READ_FILE  or CPACK_RPM_<component>_POST_UNINSTALL_SCRIPT_FILE for component packaging.<br><br></div><div>Regards,<br>Domen<br></div></div><br></div></div>