From 73b69fe60a2a8f22560d3e416f5c6ff1da898be9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 30 Mar 2010 21:57:12 -0500
Subject: linhes-system: update apple-trailers on first boot, this is done
 inthe background and only once. After the first boot, the cron job takes over
 for updating.

closes #410
---
 abs/core-testing/LinHES-system/LinHES-run | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run
index f6451f5..aa2c3bd 100644
--- a/abs/core-testing/LinHES-system/LinHES-run
+++ b/abs/core-testing/LinHES-system/LinHES-run
@@ -53,6 +53,13 @@ SpecialHardwareCommands() {
     esac
 }
 
+#update apple trailers
+if [[ x$RunFrontend = x1 && -f ~/.configure ]]
+then
+    /usr/bin/php -q /usr/bin/myth_trailers_grabber > /home/mythtv/appletrailer.xml && /usr/bin/fix_aple_url.sh 2>/dev/null &
+fi
+
+
 if [ !  $SystemType = "Frontend_only" ]
 then
     if [  -f ~/.configure ]
-- 
cgit v0.12