summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:19 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:19 (GMT)
commitaf842caae9ec68c80040974ec4ae6d8ba147c362 (patch)
treeffd08824bb086e0385a790c52e78c604d4f4d168
parentdc5579bd32a82a67ad10e66392bea84299d75e44 (diff)
downloadlinhes_pkgbuild-af842caae9ec68c80040974ec4ae6d8ba147c362.zip
linhes_pkgbuild-af842caae9ec68c80040974ec4ae6d8ba147c362.tar.gz
linhes_pkgbuild-af842caae9ec68c80040974ec4ae6d8ba147c362.tar.bz2
mediaserv remove references to /home/mythtv
-rw-r--r--abs/extra/mediaserv/mediaserv.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/extra/mediaserv/mediaserv.install b/abs/extra/mediaserv/mediaserv.install
index 4a9de8e..53fe53a 100644
--- a/abs/extra/mediaserv/mediaserv.install
+++ b/abs/extra/mediaserv/mediaserv.install
@@ -2,9 +2,9 @@
post_install() {
- if [ ! -e /home/mythtv/.mediaserv ]
+ if [ ! -e $MYTHHOME/.mediaserv ]
then
- ln -s /myth/mediaserv /home/mythtv/.mediaserv
+ ln -s /myth/mediaserv $MYTHHOME/.mediaserv
fi
if [ ! -e /myth/mediaserv/media/tv ]
@@ -29,7 +29,7 @@ post_upgrade() {
post_remove() {
sv stop mediaserv
remove_service.sh mediaserv
- rm -fr /home/mythtv/.mediaserv
+ rm -fr $MYTHHOME/.mediaserv
rm -fr /myth/mediaserv
}