From be81f661c34084eb2528c61c5775b5e8ead761ad Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 7 Apr 2012 14:16:07 -0500
Subject: linhes-scripts: remove install_hulu.sh; replaced by huludesktop pkg.

---
 abs/core/linhes-scripts/PKGBUILD        |  4 +-
 abs/core/linhes-scripts/install_hulu.sh | 70 ---------------------------------
 2 files changed, 1 insertion(+), 73 deletions(-)
 delete mode 100644 abs/core/linhes-scripts/install_hulu.sh

diff --git a/abs/core/linhes-scripts/PKGBUILD b/abs/core/linhes-scripts/PKGBUILD
index 8b7bb1f..bce9e07 100644
--- a/abs/core/linhes-scripts/PKGBUILD
+++ b/abs/core/linhes-scripts/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=linhes-scripts
 pkgver=7
-pkgrel=29
+pkgrel=30
 pkgdesc="Various scripts that help to make LinHES, LinHES."
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -34,7 +34,6 @@ run-limit-mythcommflag
 linhes_update.sh
 linhes_update2.sh
 linhes_update3.sh
-install_hulu.sh
 update_schema_021_to_022.sh
 upgrade_linhes.sh
 remove_php_mythvideo.sh
@@ -88,7 +87,6 @@ md5sums=('f56985b2d602e11dc1e10d3e7848b2a5'
          '9d077c24d102fa02e4f417d639d8b00a'
          '98979920c30bb48c02d00f6943e9e50e'
          '460861e6d0cf999629b734912eea0acf'
-         'ccca6bdbbd86b203a3eecdbbe363e701'
          '65629302a4d2c3adf88cdf0ebc10d493'
          'ab469714d77f3a29c7dda715e5ab98e0'
          '87b0dc855181f98516acb18a7d551601'
diff --git a/abs/core/linhes-scripts/install_hulu.sh b/abs/core/linhes-scripts/install_hulu.sh
deleted file mode 100644
index 9b06b2e..0000000
--- a/abs/core/linhes-scripts/install_hulu.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/bash
-#install_hulu.sh
-if [ -e /tmp/huludesktop_i386.deb ]
-then
-cd /tmp
-deb2targz huludesktop_i386.deb
-tar -xzvf huludesktop_i386.tar.gz -C /
-else
-echo "Cannot find huludesktop_i386.deb."
-echo "Please download it from http://www.hulu.com/labs/hulu-desktop-linux"
-echo "Then copy (or move) it to /tmp"
-exit
-fi
-if grep -q Hulu /usr/share/mythtv/themes/defaultmenu/is.xml
-then
-echo "Hulu Desktop exist in Online Streams!"
-else
-  mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp                                           
-  grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp                         
-  echo "<!--#Hulu-->" >> /tmp/is.xml.tmp                                     
-  echo "   <button>" >> /tmp/is.xml.tmp                                      
-  echo "     <type>STREAM</type>" >> /tmp/is.xml.tmp                         
-  echo "     <text>Hulu Desktop</text>" >> /tmp/is.xml.tmp                   
-  echo "     <action>EXEC huludesktop</action>" >> /tmp/is.xml.tmp           
-  echo "   </button>" >> /tmp/is.xml.tmp                                     
-  echo "<!--#Hulu-->" >> /tmp/is.xml.tmp                                     
-  echo "" >> /tmp/is.xml.tmp                                                 
-  echo "</mythmenu>" >> /tmp/is.xml.tmp                                      
-  mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml
-echo "Hulu Desktop has been added to Online Streams!"
-fi
-if [ -e /home/mythtv/.huludesktop ]
-then
-echo "Found existing Hulu configuration file."
-else
-cat >> /home/mythtv/.huludesktop << EOF
-[display]
-fullscreen = TRUE
-width = 1024
-height = 576
-pos_x = 201
-pos_y = 179
-
-[remote]
-lirc_device = /dev/lircd
-lirc_remote_identifier = mceusb
-lirc_release_suffix = _UP
-lirc_repeat_threshold = 10
-button_name_up = Up
-button_name_down = Down
-button_name_left = Left
-button_name_right = Right
-button_name_select = OK
-button_name_menu = Home
-
-[flash]
-flash_location = /usr/lib/mozilla/plugins/libflashplayer.so
-
-[screensaver]
-suspend_script = /usr/bin/xscreensaver-command -deactivate
-resume_script = /usr/bin/xscreensaver-command -activate
-
-[version]
-latest = (null)
-eula_version = 0
-EOF
-chown mythtv.mythtv /home/mythtv/.huludesktop
-fi
-echo "Integration of Hulu Desktop is now complete!"
-echo "Thanks for using LinHES!"
-- 
cgit v0.12

