summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythexport/mythexport.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/mythexport/mythexport.install')
-rw-r--r--abs/extra/mythexport/mythexport.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/extra/mythexport/mythexport.install b/abs/extra/mythexport/mythexport.install
new file mode 100644
index 0000000..edd60f5
--- /dev/null
+++ b/abs/extra/mythexport/mythexport.install
@@ -0,0 +1,10 @@
+# arg 1: the new package version
+post_install() {
+ mysql -u root mythconverg < /usr/share/mythtv/mythexport.sql
+ ln -s /usr/share/mythtv/mythexport /data/srv/httpd/htdocs/
+ ln -s /myth/archive /usr/share/mythtv/mythexport/video
+}
+
+op=$1
+shift
+$op $*