summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/mre/mre.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-06-06 20:57:41 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-06-06 20:57:41 (GMT)
commitd08fd71d3b4f574be097698e4255b839cf226877 (patch)
tree5a23f9932dc658a4e5f3558edc1a813620fc8c8f /abs/extra-testing/community/mre/mre.install
parentd19a8085a8b022fd61e231843a36a9075d7712c0 (diff)
downloadlinhes_pkgbuild-d08fd71d3b4f574be097698e4255b839cf226877.zip
linhes_pkgbuild-d08fd71d3b4f574be097698e4255b839cf226877.tar.gz
linhes_pkgbuild-d08fd71d3b4f574be097698e4255b839cf226877.tar.bz2
mre:initial inclusion. Recorder extender for sporting events.
Diffstat (limited to 'abs/extra-testing/community/mre/mre.install')
-rwxr-xr-xabs/extra-testing/community/mre/mre.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/extra-testing/community/mre/mre.install b/abs/extra-testing/community/mre/mre.install
new file mode 100755
index 0000000..4e3fb0d
--- /dev/null
+++ b/abs/extra-testing/community/mre/mre.install
@@ -0,0 +1,20 @@
+# arg 1: the new package version
+post_install() {
+ add_service.sh mre
+ sed -i.pacsave '/^open_basedir/s|$|:/var/log/mre:/usr/local/lib/mre|' /etc/php/php.ini
+}
+
+post_upgrade() {
+
+}
+
+
+# arg 1: the old package version
+post_remove() {
+ remove_service.sh mre
+ sed -i.pacsave '/^open_basedir/s|:/var/log/mre:/usr/local/lib/mre||' /etc/php/php.ini
+}
+
+op=$1
+shift
+$op $*