summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
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 $*