diff options
Diffstat (limited to 'abs/extra/mediaserv/mediaserv.install')
-rw-r--r-- | abs/extra/mediaserv/mediaserv.install | 6 |
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 } |