From 1f1fba61439753f571b1a6d39086143804326d8a Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 2 Dec 2010 17:58:57 +0000
Subject: mythtdb-initial: set the hostname to type_name_here  in the database

---
 abs/core/mythdb-initial/PKGBUILD   | 10 +++++++++-
 abs/core/mythdb-initial/custom.sql |  6 ++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/abs/core/mythdb-initial/PKGBUILD b/abs/core/mythdb-initial/PKGBUILD
index a3a440f..fe7e671 100755
--- a/abs/core/mythdb-initial/PKGBUILD
+++ b/abs/core/mythdb-initial/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythdb-initial
 pkgver=2
-pkgrel=3
+pkgrel=5
 pkgdesc="setup the initial mythtv database for linhes"
 url=""
 license=""
@@ -25,3 +25,11 @@ md5sums=('dee66a8d64b03f0f3f4adccd71a6bf1f'
          'ad0e57ac5e7c3677808a670e16634bba'
          'dd44c6b14247c9ad09b80f3a1fb6c339'
          'd3108f4b98229ceec53aa8fb72639e9b')
+md5sums=('dee66a8d64b03f0f3f4adccd71a6bf1f'
+         'ad0e57ac5e7c3677808a670e16634bba'
+         'de41ab94636ad9430ea9e046dd14da6c'
+         'd3108f4b98229ceec53aa8fb72639e9b')
+md5sums=('dee66a8d64b03f0f3f4adccd71a6bf1f'
+         'ad0e57ac5e7c3677808a670e16634bba'
+         '8b0fc984d879b100ae047c157604080b'
+         'd3108f4b98229ceec53aa8fb72639e9b')
diff --git a/abs/core/mythdb-initial/custom.sql b/abs/core/mythdb-initial/custom.sql
index 1033a9e..ccb40e4 100644
--- a/abs/core/mythdb-initial/custom.sql
+++ b/abs/core/mythdb-initial/custom.sql
@@ -1,3 +1,9 @@
+--
+DELETE FROM `settings` where `value`='HostMyhostname';
+--
+INSERT INTO `settings` (`value`,`data`,`hostname`) VALUES ('HostMyhostname','type_hostname_here','larch5');
+--
 INSERT INTO `jumppoints` (`destination`, `description`,`keylist`,`hostname`) VALUES
 ('MythSmolt','Hardware profiler','Ctrl+Alt+p','larch5')
 
+
-- 
cgit v0.12