summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-12-10 22:03:27 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-12-10 22:03:27 (GMT)
commit81a5d9fb48a4b6a348336644c153bd1bf8456957 (patch)
tree05b24d45233ccc87557bee5de409b0f3fd696036 /abs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install
parent79975a551625d4968919055a571c305f05162022 (diff)
downloadlinhes_pkgbuild-81a5d9fb48a4b6a348336644c153bd1bf8456957.zip
linhes_pkgbuild-81a5d9fb48a4b6a348336644c153bd1bf8456957.tar.gz
linhes_pkgbuild-81a5d9fb48a4b6a348336644c153bd1bf8456957.tar.bz2
initial checkin for svn plugins.
Diffstat (limited to 'abs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install')
-rwxr-xr-xabs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install b/abs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install
new file mode 100755
index 0000000..9162d98
--- /dev/null
+++ b/abs/core-testing/mythtv/trunk/plugins/mythweb/mythweb.install
@@ -0,0 +1,37 @@
+
+# arg 1: the new package version
+pre_install () {
+/bin/true
+}
+
+post_install() {
+ cp /etc/lighttpd/lighttpd.conf /tmp
+ sed -e "s/# .* \"mod_fastcgi\",/\"mod_fastcgi\"\,/g" /tmp/lighttpd.conf > /etc/lighttpd/lighttpd.conf
+
+
+}
+pre_upgrade () {
+ pre_install
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install
+
+ /bin/true
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+/bint/true
+}
+
+op=$1
+shift
+$op $*