mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-12-22 05:19:48 +01:00
pam: always install pam file
This commit is contained in:
parent
883fbdfe01
commit
d9a6229434
1 changed files with 1 additions and 6 deletions
|
@ -83,9 +83,4 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst
|
|||
# Installation
|
||||
install(TARGETS hyprlock)
|
||||
|
||||
install(CODE "
|
||||
if (NOT EXISTS \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d/hyprlock\")
|
||||
install(FILES \"${CMAKE_SOURCE_DIR}/pam/hyprlock\" DESTINATION \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d\")
|
||||
endif()
|
||||
")
|
||||
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/pam/hyprlock DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d)
|
||||
|
|
Loading…
Reference in a new issue