aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-14 14:21:35 -0500
committerTed Gould <ted@gould.cx>2012-09-14 14:21:35 -0500
commit1a5fc013c97261991805c1a0b4344d0344926db9 (patch)
treecd2ee85448d3379b8f00362df0c7677c9562515b
parent3e7f9c00c55b795def0c70fd2de5fc37aa2495ca (diff)
downloadlightdm-remote-session-remoteconfigure-1a5fc013c97261991805c1a0b4344d0344926db9.tar.gz
lightdm-remote-session-remoteconfigure-1a5fc013c97261991805c1a0b4344d0344926db9.tar.bz2
lightdm-remote-session-remoteconfigure-1a5fc013c97261991805c1a0b4344d0344926db9.zip
Make apparmor work on the wrapper
-rw-r--r--Makefile.am4
-rw-r--r--lightdm-remote-session-uccsconfigure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 1325ca5..18c49bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,7 +54,7 @@ uccsconfigure_session_wrapper_CFLAGS = \
-Wall -Werror
###############################
-# Apparmor for session script
+# Apparmor for session wrapper
###############################
apparmordir = $(sysconfdir)/apparmor.d/
@@ -62,7 +62,7 @@ apparmor_DATA = \
lightdm-remote-session-uccsconfigure
lightdm-remote-session-uccsconfigure: lightdm-remote-session-uccsconfigure.in
- @sed -e "s|\@pkgdatadir\@|$(pkgdatadir)|" $< > $@
+ @sed -e "s|\@pkglibexecdir\@|$(pkglibexecdir)|" $< > $@
EXTRA_DIST += lightdm-remote-session-uccsconfigure.in
CLEANFILES += lightdm-remote-session-uccsconfigure
diff --git a/lightdm-remote-session-uccsconfigure.in b/lightdm-remote-session-uccsconfigure.in
index 9c396fe..507d5ca 100644
--- a/lightdm-remote-session-uccsconfigure.in
+++ b/lightdm-remote-session-uccsconfigure.in
@@ -5,7 +5,7 @@
#include <tunables/global>
-@pkgdatadir@/uccsconfigure-session {
+@pkglibexecdir@/uccsconfigure-session-wrapper {
#include <abstractions/authentication>
#include <abstractions/nameservice>
#include <abstractions/wutmp>