diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-04-15 15:39:14 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-04-15 15:39:14 (GMT) |
commit | bc8986e4e2b000156dd643362b900b1e5ed62084 (patch) | |
tree | 4be0d7a042c0427a581098114e70139978562ca7 /abs/core/zoneminder/zoneminder.install | |
parent | c0713a8a1b174ed93a145ca666d963f931add8ae (diff) | |
download | linhes_pkgbuild-bc8986e4e2b000156dd643362b900b1e5ed62084.zip linhes_pkgbuild-bc8986e4e2b000156dd643362b900b1e5ed62084.tar.gz linhes_pkgbuild-bc8986e4e2b000156dd643362b900b1e5ed62084.tar.bz2 |
zoneminder: fix path for http srv dir
Diffstat (limited to 'abs/core/zoneminder/zoneminder.install')
-rw-r--r-- | abs/core/zoneminder/zoneminder.install | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/abs/core/zoneminder/zoneminder.install b/abs/core/zoneminder/zoneminder.install index e074c32..a086b96 100644 --- a/abs/core/zoneminder/zoneminder.install +++ b/abs/core/zoneminder/zoneminder.install @@ -18,14 +18,14 @@ install_db() { pre_install() { set -e abort=false - if [ -L /data/srv/http/zoneminder/events ]; then - l=$(readlink /data/srv/http/zoneminder/events) + if [ -L /data/srv/httpd/zoneminder/events ]; then + l=$(readlink /data/srv/httpd/zoneminder/events) if [ $l != /var/cache/zoneminder/events ]; then abort=true fi fi - if [ -L /data/srv/http/zoneminder/images ]; then - l=$(readlink /data/srv/http/zoneminder/images) + if [ -L /data/srv/httpd/zoneminder/images ]; then + l=$(readlink /data/srv/httpd/zoneminder/images) if [ $l != /var/cache/zoneminder/images ]; then abort=true fi @@ -33,7 +33,7 @@ pre_install() { if [ $abort = true ]; then cat >&2 << EOF Aborting installation of zoneminder due to non-default symlinks in -/data/srv/http/zoneminder for the images and/or events directory, which could +/data/srv/httpd/zoneminder for the images and/or events directory, which could result in loss of data. Please move your data in each of these directories to /var/cache/zoneminder before installing zoneminder from the package. EOF |