diff --git a/cmake/setcap.cmake b/cmake/setcap.cmake index bd146ae9c..3cbed71e9 100644 --- a/cmake/setcap.cmake +++ b/cmake/setcap.cmake @@ -5,7 +5,7 @@ install(CODE "execute_process( COMMAND ${SETCAP_EXECUTABLE} ${caps} - ${CMAKE_INSTALL_PREFIX}/${file} + \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${file} RESULT_VARIABLE _SETCAP_RESULT ) diff --git a/debian/darling.install b/debian/darling.install index ff8c6dd67..049429f90 100644 --- a/debian/darling.install +++ b/debian/darling.install @@ -1,2 +1 @@ -usr tools/shutdown-user.sh usr/lib/darling