From 20adb0eb3462e79ec76f93f2a622b99956145424 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 13 Oct 2020 01:04:44 +0200 Subject: [PATCH] Disable /etc/debian_version check Signed-off-by: Andreas Sturmlechner --- services/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt index 5032f33..afa5fd5 100644 --- a/services/CMakeLists.txt +++ b/services/CMakeLists.txt @@ -11,7 +11,7 @@ else() endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sddm-greeter.pam.in" "${CMAKE_CURRENT_BINARY_DIR}/sddm-greeter.pam") -if(EXISTS "/etc/debian_version") +if(0) install(FILES debian.sddm-autologin.pam DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d RENAME sddm-autologin) install(FILES debian.sddm-greeter.pam DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d RENAME sddm-greeter) install(FILES debian.sddm.pam DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d RENAME sddm) -- 2.39.1