diff options
Diffstat (limited to 'abs/extra/miro/miro.install')
-rw-r--r-- | abs/extra/miro/miro.install | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/abs/extra/miro/miro.install b/abs/extra/miro/miro.install index 4411be4..202fe91 100644 --- a/abs/extra/miro/miro.install +++ b/abs/extra/miro/miro.install @@ -4,21 +4,21 @@ post_install() { /usr/LH/bin/gen_is_xml.py if [ -d /myth/democracy ] then - ln -s /myth/democracy /home/mythtv/.miro + ln -s /myth/democracy /$MYTHHOME/.miro ln -s /myth/miro/Movies /myth/video/Miro exit 1 else if [ -d /myth/miro ] then - ln -s /myth/miro /home/mythtv/.miro + ln -s /myth/miro /$MYTHHOME/.miro ln -s /myth/miro/Movies /myth/video/Miro exit 1 else if [ ! -d /myth/miro -o /myth/democracy ] then mkdir -p /myth/miro/Movies - ln -s /myth/miro /home/mythtv/.miro - ln -s /myth/miro/Movies /home/mythtv/Movies + ln -s /myth/miro /$MYTHHOME/.miro + ln -s /myth/miro/Movies /$MYTHHOME/Movies ln -s /myth/miro/Movies /myth/video/Miro fi fi @@ -32,10 +32,13 @@ post_upgrade() { post_remove() { update-desktop-database -q - rm -fr /home/mythtv/.miro /myth/video/Miro /myth/miro /myth/democracy + rm -fr /$MYTHHOME/.miro /myth/video/Miro /myth/miro /myth/democracy /usr/LH/bin/gen_is_xml.py } +. /usr/MythVantage/bin/install_functions.sh +home_check + op=$1 shift $op $* |