PolicyKit: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Tue Jun 19 18:48:48 PDT 2007
polkit/polkit-context.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree 8d3b0c22751514312ad4f4f9c85c3070ebcef54e (from 1d16acb6935a8188a98699d431e1e9ec327bdf9d)
Author: David Zeuthen <davidz at redhat.com>
Date: Tue Jun 19 21:48:42 2007 -0400
make .policy files live in /usr/share, not /etc
diff --git a/polkit/polkit-context.c b/polkit/polkit-context.c
index a63d9c9..a1bb1d0 100644
--- a/polkit/polkit-context.c
+++ b/polkit/polkit-context.c
@@ -283,7 +283,7 @@ polkit_context_init (PolKitContext *pk_c
if (dirname != NULL) {
pk_context->policy_dir = g_strdup (dirname);
} else {
- pk_context->policy_dir = g_strdup (PACKAGE_SYSCONF_DIR "/PolicyKit/policy");
+ pk_context->policy_dir = g_strdup (PACKAGE_DATA_DIR "/PolicyKit/policy");
}
_pk_debug ("Using policy files from directory %s", pk_context->policy_dir);
@@ -307,7 +307,7 @@ polkit_context_init (PolKitContext *pk_c
/* Config file changes */
pk_context->file_monitor_add_watch_func (pk_context,
- PACKAGE_SYSCONF_DIR "/PolicyKit",
+ PACKAGE_DATA_DIR "/PolicyKit",
POLKIT_CONTEXT_FILE_MONITOR_EVENT_CREATE|
POLKIT_CONTEXT_FILE_MONITOR_EVENT_DELETE|
POLKIT_CONTEXT_FILE_MONITOR_EVENT_CHANGE,
More information about the hal-commit
mailing list