diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-06 03:42:14 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-06 03:42:14 (GMT) |
commit | 4c2bbdfa9aec057c1815345a2790d58318f80165 (patch) | |
tree | 86f81ec2b0896e3425d5fe18d8074e27e997aaf5 /abs/core-testing/zoneminder/zoneminder.install | |
parent | afe6ac82a74d0e3a561dd52aaac6c9e4ac7e4ad8 (diff) | |
download | linhes_pkgbuild-4c2bbdfa9aec057c1815345a2790d58318f80165.zip linhes_pkgbuild-4c2bbdfa9aec057c1815345a2790d58318f80165.tar.gz linhes_pkgbuild-4c2bbdfa9aec057c1815345a2790d58318f80165.tar.bz2 |
ZoneMinder:Further enhancements to run on LinHES.
Diffstat (limited to 'abs/core-testing/zoneminder/zoneminder.install')
-rw-r--r-- | abs/core-testing/zoneminder/zoneminder.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core-testing/zoneminder/zoneminder.install b/abs/core-testing/zoneminder/zoneminder.install index c2ae861..1f3cfc0 100644 --- a/abs/core-testing/zoneminder/zoneminder.install +++ b/abs/core-testing/zoneminder/zoneminder.install @@ -52,7 +52,8 @@ post_upgrade() { # Reuse the old config [ -f /etc/zm.conf.pacnew ] && cat /etc/zm.conf | sed -e "s/^ZM_VERSION=.*$/ZM_VERSION=1.23.3/" > /tmp/zm.conf [ -f /etc/zm.conf.pacsave ] && cat /etc/zm.conf.pacsave | sed -e "s/^ZM_VERSION=.*$/ZM_VERSION=1.23.3/" > /tmp/zm.conf -[ -f /tmp/zm.conf ] && mv -f /tmp/zm.conf /etc/zm.conf && chown -R nobody.nobody /etc/zm.conf +[ -f /tmp/zm.conf ] && mv -f /tmp/zm.conf /etc/zm.conf && chown -R http.http /etc/zm.conf +add_service.sh zm } ## arg 1: the old package version pre_remove() { @@ -62,6 +63,7 @@ pre_remove() { ## arg 1: the old package version post_remove() { echo + remove_service.sh zm } # vim:set ts=2 sw=2 et: |