diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-31 00:29:39 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-31 00:29:39 (GMT) |
commit | 69728241bca2e2e98ce3eabdc6e5e312b9086358 (patch) | |
tree | e03ec31219039d999fa606e4231ee0b0f8a4fbe6 /abs/extra/mythappletrailers/mythappletrailers.install | |
parent | 0a726c8a793745770766860c44f79745c19c4c24 (diff) | |
download | linhes_pkgbuild-69728241bca2e2e98ce3eabdc6e5e312b9086358.zip linhes_pkgbuild-69728241bca2e2e98ce3eabdc6e5e312b9086358.tar.gz linhes_pkgbuild-69728241bca2e2e98ce3eabdc6e5e312b9086358.tar.bz2 |
mythappletrailers: remove references to /home/mythtv
Diffstat (limited to 'abs/extra/mythappletrailers/mythappletrailers.install')
-rw-r--r-- | abs/extra/mythappletrailers/mythappletrailers.install | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/extra/mythappletrailers/mythappletrailers.install b/abs/extra/mythappletrailers/mythappletrailers.install index 452fb16..602b96a 100644 --- a/abs/extra/mythappletrailers/mythappletrailers.install +++ b/abs/extra/mythappletrailers/mythappletrailers.install @@ -1,6 +1,6 @@ # arg 1: the new package version post_install() { - ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml + ln -s $MYTHHOME/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml /usr/LH/bin/gen_is_xml.py } # arg 1: the new package version @@ -11,17 +11,20 @@ post_upgrade() { then exit else - ln -s /home/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml + ln -s /$MYTHHOME/appletrailer.xml /usr/share/mythtv/themes/defaultmenu/appletrailer.xml fi } # arg 1: the old package version post_remove() { rm -fr /usr/share/mythtv/appletrailer.xml /usr/share/mythtv/themes/defaulmenu/mythappletrailer.xml - mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp /usr/LH/bin/gen_is_xml.py } +#This bit of code is used to check for MYTHHOME and set it +. /usr/MythVantage/bin/install_functions.sh +home_check + op=$1 shift $op $* |