summaryrefslogtreecommitdiffstats
path: root/abs/core/keylaunch/keylaunch.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-09-03 17:39:49 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-09-03 17:39:49 (GMT)
commita261b10e32d0353c9a0720fa0528e372376eb81c (patch)
treeac231eb0de2701effc1fb8a5e8ea13ae7605814c /abs/core/keylaunch/keylaunch.install
parentfde38eda71f1f6efbd2c870b31c4fc71b5c576af (diff)
downloadlinhes_pkgbuild-a261b10e32d0353c9a0720fa0528e372376eb81c.zip
linhes_pkgbuild-a261b10e32d0353c9a0720fa0528e372376eb81c.tar.gz
linhes_pkgbuild-a261b10e32d0353c9a0720fa0528e372376eb81c.tar.bz2
keylaunch: update .keylaunchrc to run mythtv-setup as user
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