From 768773a2f3c0d188ee8b697a26880078dbd784f2 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 10 Oct 2011 18:48:22 -0500
Subject: mythtv: add Cancel Updates menu and simplify update menus

---
 abs/core/mythtv/stable-0.24/mythtv/PKGBUILD             |  2 +-
 abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml  | 15 ++-------------
 abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml | 12 +++---------
 3 files changed, 6 insertions(+), 23 deletions(-)

diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
index b79cb66..cf504eb 100755
--- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
@@ -6,7 +6,7 @@
 
 pkgname=mythtv
 pkgver=0.24
-pkgrel=23
+pkgrel=24
 pkgdesc="A Homebrew PVR project"
 arch=('i686' 'x86_64')
 url="http://www.mythtv.org/"
diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml
index 5b28833..d2ac3fe 100644
--- a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml
+++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update.xml
@@ -2,19 +2,8 @@
 
    <button>
      <type>UPGRADE</type>
-     <text>Check for updates?</text>
-     <action>NONE</action>
-   </button>
-
-   <button>
-     <type>UPGRADE</type>
-     <text>Yes</text>
+     <text>Check for Updates</text>
      <action>EXEC sudo /usr/LH/bin/linhes_update.sh</action>
    </button>
-   
-   <button>
-     <type>UPGRADE</type>
-     <text>No</text>
-     <action>UPMENU</action>
-   </button>
+
 </mythmenu>
diff --git a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml
index e4a443d..64388cb 100644
--- a/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml
+++ b/abs/core/mythtv/stable-0.24/mythtv/menu-xml/update2.xml
@@ -2,21 +2,15 @@
 
    <button>
      <type>UPGRADE</type>
-     <text>Install Updates?</text>
-     <action>NONE</action>
+     <text>Install Updates</text>
+     <action>EXEC sudo /usr/LH/bin/linhes_update2.sh install</action>
    </button>
 
    <button>
      <type>UPGRADE</type>
-     <text>Yes</text>
+     <text>Cancel Updates</text>
      <action>EXEC sudo /usr/LH/bin/linhes_update2.sh</action>
    </button>
-   
-   <button>
-     <type>UPGRADE</type>
-     <text>No</text>
-     <action>UPMENU</action>
-   </button>
 
    <button>
      <type>UPGRADE</type>
-- 
cgit v0.12

