Will try, thanks!<br><br><div class="gmail_quote">On Thu, Feb 19, 2009 at 21:53, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div id=":6w" class="ArwC7c ckChnd">From CPackDeb.cmake I think you may include extra scripts in the control.tar.gz<br>
generated by CPack DEB generator.<br>
<br>
# CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA<br>
# This variable allow advanced user to add custom script to the<br>
control.tar.gz (inside the .deb archive)<br>
# Typical examples are:<br>
# - conffiles<br>
# - postinst<br>
# - postrm<br>
# - prerm"<br>
# Usage:<br>
# SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA<br>
# "${CMAKE_CURRENT_SOURCE_DIR/prerm;${CMAKE_CURRENT_SOURCE_DIR}/postrm")<br>
<br>
<br>
Thus I would try to<br>
SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA<br>
"/path/to/your/postinst")<br>
<br>
where:<br>
/path/to/your/postinst<br>
<br>
is your custom post-installation script.</div></blockquote></div><br><br clear="all"><br>-- <br>Bruno<br><a href="http://iruel.net">http://iruel.net</a><br>