summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mythexport/mythexport.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-24 07:06:23 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-24 07:06:23 (GMT)
commit53b2ba2e54ac7d591566338d8cf3c17d60023527 (patch)
tree6dbc68707adf3a40088d7ec788c8feeb150ec1e2 /abs/extra-testing/mythexport/mythexport.install
parent7998611faf2dc1c771564666ae272a26f808dee5 (diff)
downloadlinhes_pkgbuild-53b2ba2e54ac7d591566338d8cf3c17d60023527.zip
linhes_pkgbuild-53b2ba2e54ac7d591566338d8cf3c17d60023527.tar.gz
linhes_pkgbuild-53b2ba2e54ac7d591566338d8cf3c17d60023527.tar.bz2
Import mythexport.sql after installation.
Diffstat (limited to 'abs/extra-testing/mythexport/mythexport.install')
-rw-r--r--abs/extra-testing/mythexport/mythexport.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra-testing/mythexport/mythexport.install b/abs/extra-testing/mythexport/mythexport.install
new file mode 100644
index 0000000..4408a16
--- /dev/null
+++ b/abs/extra-testing/mythexport/mythexport.install
@@ -0,0 +1,8 @@
+# arg 1: the new package version
+post_install() {a
+ mysql -u root mythconverg < /usr/share/mythtv/mythexport.sql
+}
+
+op=$1
+shift
+$op $*