From b354c8df536e71d3973dc18b6cf70583ee1931b6 Mon Sep 17 00:00:00 2001 From: Username404 Date: Thu, 18 Mar 2021 14:32:08 +0100 Subject: [PATCH] Rename scripts/postinst.sh to postinst, else it won't be executed on debian. --- CMakeLists.txt | 2 +- scripts/{postinst.sh => postinst} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/{postinst.sh => postinst} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d5d0f0..8f749e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,7 @@ if (UNIX AND NOT MINGW) set(CMAKE_INSTALL_PREFIX "/opt") set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 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_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.14), libstdc++6 (>= 9)") set(CPACK_DEBIAN_COMPRESSION_TYPE lzma) diff --git a/scripts/postinst.sh b/scripts/postinst similarity index 100% rename from scripts/postinst.sh rename to scripts/postinst