summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-12-02 17:58:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-12-02 17:58:57 (GMT)
commit1f1fba61439753f571b1a6d39086143804326d8a (patch)
treeb898e41c3a72267c5719fdd4baf331d13a2945b9
parent6961b0b64f83a8c6834137f7a9365a88ea4b2038 (diff)
downloadlinhes_pkgbuild-1f1fba61439753f571b1a6d39086143804326d8a.zip
linhes_pkgbuild-1f1fba61439753f571b1a6d39086143804326d8a.tar.gz
linhes_pkgbuild-1f1fba61439753f571b1a6d39086143804326d8a.tar.bz2
mythtdb-initial: set the hostname to type_name_here in the database
-rwxr-xr-xabs/core/mythdb-initial/PKGBUILD10
-rw-r--r--abs/core/mythdb-initial/custom.sql6
2 files changed, 15 insertions, 1 deletions
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')
+