aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux
diff options
context:
space:
mode:
authortheuni <theuni@svn>2010-10-27 19:58:14 +0000
committertheuni <theuni@svn>2010-10-27 19:58:14 +0000
commit4ea62afdf001c0d6c91d91c5e9b72e273bac20c6 (patch)
treea7f32c2e02b7f40fc1595bf20829195e76299fc4 /tools/Linux
parentea256e96f1b8e5ed92c19a73e84eafe67eeabc12 (diff)
live: give permissions to the correct user, don't assume xbmc
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35040 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/Linux')
-rwxr-xr-xtools/Linux/packaging/debian/xbmc-live.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Linux/packaging/debian/xbmc-live.postinst b/tools/Linux/packaging/debian/xbmc-live.postinst
index e5844e97d8..3168f4bfe1 100755
--- a/tools/Linux/packaging/debian/xbmc-live.postinst
+++ b/tools/Linux/packaging/debian/xbmc-live.postinst
@@ -131,7 +131,7 @@ ENDOFBLOCK
cat > /var/lib/polkit-1/localauthority/50-local.d/20-xbmclive.pkla <<ENDOFBLOCK
# Policy to allow the livecd user to bypass policykit. Should be installed at /var/lib/polkit-1/localauthority/50-local.d/20-xbmclive.pkla
[XBMC-Live user permissions]
-Identity=unix-user:xbmc
+Identity=unix-user:${xbmcUser}
Action=*
ResultAny=no
ResultInactive=no