Browse Source

Don't hardcode dbus policy install dir

Install the policy files to the cmake provided locations instead of hardcoding the path to /etc/dbus-1

Differential Revision: https://phabricator.kde.org/D21162
4.0
Antonio Rojas 4 months ago
parent
commit
8238c94447
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/util/CMakeLists.txt

+ 2
- 2
src/util/CMakeLists.txt View File

@@ -50,8 +50,8 @@ target_link_libraries(kpmcore_externalcommand
50 50
 )
51 51
 
52 52
 install(TARGETS kpmcore_externalcommand DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
53
-install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d )
54
-install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d )
53
+install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d )
54
+install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d )
55 55
 
56 56
 kauth_install_helper_files(kpmcore_externalcommand org.kde.kpmcore.externalcommand root)
57 57
 kauth_install_actions(org.kde.kpmcore.externalcommand util/org.kde.kpmcore.externalcommand.actions)

Loading…
Cancel
Save