summaryrefslogtreecommitdiffstats
path: root/abs/extra/miro/miro.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-02-13 00:42:05 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-02-13 00:42:05 (GMT)
commit46d122a9a53c1a38980f018489de9f33c4299151 (patch)
tree18cb76e6deeab07007ca68dbe10fe7c6bc0fa886 /abs/extra/miro/miro.install
parenta54153dd7dffedda0ec01c5f21d1640d125afa47 (diff)
parentcf8226bb36fcad78ee6fee881c02c655e9bcfd25 (diff)
downloadlinhes_pkgbuild-46d122a9a53c1a38980f018489de9f33c4299151.zip
linhes_pkgbuild-46d122a9a53c1a38980f018489de9f33c4299151.tar.gz
linhes_pkgbuild-46d122a9a53c1a38980f018489de9f33c4299151.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra/miro/miro.install')
-rw-r--r--abs/extra/miro/miro.install20
1 files changed, 18 insertions, 2 deletions
diff --git a/abs/extra/miro/miro.install b/abs/extra/miro/miro.install
index db52df4..02b2c06 100644
--- a/abs/extra/miro/miro.install
+++ b/abs/extra/miro/miro.install
@@ -9,7 +9,7 @@ post_install() {
echo " <button>" >> /tmp/is.xml.tmp
echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
echo " <text>Miro Player</text>" >> /tmp/is.xml.tmp
- echo " <action>EXEC /usr/bin/miro --set xine-xvhack=false --set renderer=xine</action>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/bin/miro</action>" >> /tmp/is.xml.tmp
echo " </button>" >> /tmp/is.xml.tmp
echo "<!--#Miro-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
@@ -36,10 +36,26 @@ post_install() {
fi
fi
fi
+ chown -R mythtv.mythtv /myth/miro
}
post_update() {
- post_install $1
+ mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp
+ sed -e '/\#Miro/,/\#Miro/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml
+ mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp
+ sed -e '/\#Miro/,/\#Miro/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml
+ mv /usr/share/mythtv/is.xml /tmp
+ grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp
+ echo "<!--#Miro-->" >> /tmp/is.xml.tmp
+ echo " <button>" >> /tmp/is.xml.tmp
+ echo " <type>STREAM</type>" >> /tmp/is.xml.tmp
+ echo " <text>Miro Player</text>" >> /tmp/is.xml.tmp
+ echo " <action>EXEC /usr/bin/miro</action>" >> /tmp/is.xml.tmp
+ echo " </button>" >> /tmp/is.xml.tmp
+ echo "<!--#Miro-->" >> /tmp/is.xml.tmp
+ echo "" >> /tmp/is.xml.tmp
+ echo "</mythmenu>" >> /tmp/is.xml.tmp
+ mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml
}
post_remove() {