summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/mythdb-initial/PKGBUILD2
-rwxr-xr-xabs/core/mythdb-initial/mythdb.install2
2 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/mythdb-initial/PKGBUILD b/abs/core/mythdb-initial/PKGBUILD
index e6f3afa..f02d108 100755
--- a/abs/core/mythdb-initial/PKGBUILD
+++ b/abs/core/mythdb-initial/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythdb-initial
pkgver=2
-pkgrel=34
+pkgrel=35
pkgdesc="setup the initial mythtv database for linhes"
url=""
license=""
diff --git a/abs/core/mythdb-initial/mythdb.install b/abs/core/mythdb-initial/mythdb.install
index e55fa3f..be4e64f 100755
--- a/abs/core/mythdb-initial/mythdb.install
+++ b/abs/core/mythdb-initial/mythdb.install
@@ -2,6 +2,8 @@ mydate=`date +%m-%d-%y`
HOST=`hostname`
post_install() {
mysqldump mythconverg >/data/database/mythconverg.${mydate}.sql
+ #load timezone info for mythtv .26
+ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
mysql -u root -e 'drop database mythconverg;'
mysql -u root -e 'create database mythconverg;'