Rename scripts/postinst.sh to postinst, else it won't be executed on debian.
This commit is contained in:
parent
29f0fafe31
commit
b354c8df53
|
@ -75,7 +75,7 @@ if (UNIX AND NOT MINGW)
|
||||||
set(CMAKE_INSTALL_PREFIX "/opt")
|
set(CMAKE_INSTALL_PREFIX "/opt")
|
||||||
set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
set(CPACK_PACKAGE_FILE_NAME "${PNAME}_lpkg")
|
set(CPACK_PACKAGE_FILE_NAME "${PNAME}_lpkg")
|
||||||
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/scripts/postinst.sh")
|
set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_CURRENT_SOURCE_DIR}/scripts/postinst")
|
||||||
set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE ${CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA})
|
set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE ${CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA})
|
||||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.14), libstdc++6 (>= 9)")
|
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.14), libstdc++6 (>= 9)")
|
||||||
set(CPACK_DEBIAN_COMPRESSION_TYPE lzma)
|
set(CPACK_DEBIAN_COMPRESSION_TYPE lzma)
|
||||||
|
|
Loading…
Reference in New Issue