summaryrefslogtreecommitdiffstats
path: root/abs/core/mythdb-initial/mythdb.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythdb-initial/mythdb.install')
-rwxr-xr-xabs/core/mythdb-initial/mythdb.install2
1 files changed, 2 insertions, 0 deletions
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;'