diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-06-06 20:57:41 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-06-06 20:57:41 (GMT) |
commit | d08fd71d3b4f574be097698e4255b839cf226877 (patch) | |
tree | 5a23f9932dc658a4e5f3558edc1a813620fc8c8f /abs/extra-testing/community/mre/mre.install | |
parent | d19a8085a8b022fd61e231843a36a9075d7712c0 (diff) | |
download | linhes_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-x | abs/extra-testing/community/mre/mre.install | 20 |
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 $* |