summaryrefslogtreecommitdiffstats
path: root/abs/core/mythdb-initial/mythdb.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-29 19:06:12 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-29 19:06:12 (GMT)
commit9b57bfb2f2074613a60b29518b0671cbc7eff711 (patch)
tree4bdf68eb87ab5c95a366ccfc2834476694980307 /abs/core/mythdb-initial/mythdb.install
parent88b26331f2219c06ed6624d4e3094cd9e8ad7757 (diff)
downloadlinhes_pkgbuild-9b57bfb2f2074613a60b29518b0671cbc7eff711.zip
linhes_pkgbuild-9b57bfb2f2074613a60b29518b0671cbc7eff711.tar.gz
linhes_pkgbuild-9b57bfb2f2074613a60b29518b0671cbc7eff711.tar.bz2
mythtdb-initial: load mysql timezones, which is needed for mythtv .26
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;'