summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:29 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-31 00:29:29 (GMT)
commit0a726c8a793745770766860c44f79745c19c4c24 (patch)
treef82636c1cd5d7c149241c5ffdd8d943afa5f547c /abs/extra
parentaf842caae9ec68c80040974ec4ae6d8ba147c362 (diff)
downloadlinhes_pkgbuild-0a726c8a793745770766860c44f79745c19c4c24.zip
linhes_pkgbuild-0a726c8a793745770766860c44f79745c19c4c24.tar.gz
linhes_pkgbuild-0a726c8a793745770766860c44f79745c19c4c24.tar.bz2
miro: remove references to /home/mythtv
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/miro/PKGBUILD2
-rw-r--r--abs/extra/miro/miro.install13
2 files changed, 9 insertions, 6 deletions
diff --git a/abs/extra/miro/PKGBUILD b/abs/extra/miro/PKGBUILD
index 1347578..1241350 100644
--- a/abs/extra/miro/PKGBUILD
+++ b/abs/extra/miro/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=miro
pkgver=5.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="The free and open source internet TV platform"
arch=('i686' 'x86_64')
url="http://www.getmiro.com"
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 $*