summaryrefslogtreecommitdiffstats
path: root/abs/core/keylaunch/keylaunch.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-09-23 19:31:10 (GMT)
committerCecil <knoppmyth@gmail.com>2012-09-23 19:31:10 (GMT)
commitcafd1e5f46d61c3175d4a3347c65ae79c476c61a (patch)
tree3b82cfb5c5e646861bb551088229f19bfadf8d3b /abs/core/keylaunch/keylaunch.install
parent717c1c4f8bd16ddf23688e2b94e529a069f40bc9 (diff)
parent02ed2d32465e5f074eae2bca648c2b344c7a3044 (diff)
downloadlinhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.zip
linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.tar.gz
linhes_pkgbuild-cafd1e5f46d61c3175d4a3347c65ae79c476c61a.tar.bz2
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/keylaunch/keylaunch.install')
-rw-r--r--abs/core/keylaunch/keylaunch.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/keylaunch/keylaunch.install b/abs/core/keylaunch/keylaunch.install
index 42bc9eb..faa176b 100644
--- a/abs/core/keylaunch/keylaunch.install
+++ b/abs/core/keylaunch/keylaunch.install
@@ -13,7 +13,9 @@ post_install() {
then
echo "setting symlink for keylaunch"
ln -s /etc/keylaunchrc $MHOME/.keylaunchrc
-fi
+ fi
+ echo "updating .keylaunchrc to run mythtv-setup as user"
+ sed -i 's/key=..*s:sudo\ \/usr\/bin\/mythtv-setup/key=..*s:\/usr\/bin\/mythtv-setup/g' $MHOME/.keylaunchrc
}
# arg 1: the new package version