summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/dolphin-emu/dolphin-emu.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-26 14:53:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-26 14:53:08 (GMT)
commitc4497a9290ec83a0472113d91cc369b82ba33b47 (patch)
treedae8ad2fb0595673088f39f7833c2b7f3c6cc320 /abs/extra/community/dolphin-emu/dolphin-emu.install
parent04d14fae1fcfb2d952acb6278b3ff1961374b166 (diff)
downloadlinhes_pkgbuild-c4497a9290ec83a0472113d91cc369b82ba33b47.zip
linhes_pkgbuild-c4497a9290ec83a0472113d91cc369b82ba33b47.tar.gz
linhes_pkgbuild-c4497a9290ec83a0472113d91cc369b82ba33b47.tar.bz2
dolphin-emu: moved it to extra from extra/community
Diffstat (limited to 'abs/extra/community/dolphin-emu/dolphin-emu.install')
-rw-r--r--abs/extra/community/dolphin-emu/dolphin-emu.install36
1 files changed, 0 insertions, 36 deletions
diff --git a/abs/extra/community/dolphin-emu/dolphin-emu.install b/abs/extra/community/dolphin-emu/dolphin-emu.install
deleted file mode 100644
index 6acdd50..0000000
--- a/abs/extra/community/dolphin-emu/dolphin-emu.install
+++ /dev/null
@@ -1,36 +0,0 @@
-post_install() {
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp
- grep -v -e /mythmenu /tmp/game.xml > /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo " <button>" >> /tmp/game.xml.tmp
- echo " <type>MENU_GAME</type>" >> /tmp/game.xml.tmp
- echo " <text>Dolphin Emulator</text>" >> /tmp/game.xml.tmp
- echo " <action>MENU dolphin-emu.xml</action>" >> /tmp/game.xml.tmp
- echo " </button>" >> /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo "" >> /tmp/game.xml.tmp
- echo "</mythmenu>" >> /tmp/game.xml.tmp
- mv /tmp/game.xml.tmp /usr/share/mythtv/themes/defaultmenu/game.xml
-}
-
-post_upgrade() {
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp/game.xml.tmp
- sed -e '/\#Dolphin-Emu/,/\#Dolphin-Emu/d' < /tmp/game.xml.tmp > /usr/share/mythtv/themes/defaultmenu/game.xml
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp
- grep -v -e /mythmenu /tmp/game.xml > /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo " <button>" >> /tmp/game.xml.tmp
- echo " <type>MENU_GAME</type>" >> /tmp/game.xml.tmp
- echo " <text>Dolphin Emulator</text>" >> /tmp/game.xml.tmp
- echo " <action>MENU dolphin-emu.xml</action>" >> /tmp/game.xml.tmp
- echo " </button>" >> /tmp/game.xml.tmp
- echo "<!--#Dolphin-Emu-->" >> /tmp/game.xml.tmp
- echo "" >> /tmp/game.xml.tmp
- echo "</mythmenu>" >> /tmp/game.xml.tmp
- mv /tmp/game.xml.tmp /usr/share/mythtv/themes/defaultmenu/game.xml
-}
-
-post_remove() {
- mv /usr/share/mythtv/themes/defaultmenu/game.xml /tmp/game.xml.tmp
- sed -e '/\#Dolphin-Emu/,/\#Dolphin-Emu/d' < /tmp/game.xml.tmp > /usr/share/mythtv/themes/defaultmenu/game.xml
-}