summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-22 16:00:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-22 16:00:21 (GMT)
commit30d0cdae800d622b8b7b51ca2d28a62c83f838df (patch)
tree3c32442104a78e120478738ffedfee26c4fae86a /abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install
parented28d2bff19273fac6cf03486c10919a68653e65 (diff)
downloadlinhes_pkgbuild-30d0cdae800d622b8b7b51ca2d28a62c83f838df.zip
linhes_pkgbuild-30d0cdae800d622b8b7b51ca2d28a62c83f838df.tar.gz
linhes_pkgbuild-30d0cdae800d622b8b7b51ca2d28a62c83f838df.tar.bz2
mythplugins: removed zoneminder as a dep for mythzoneminder. If zoneminder needs to be installed it's taken care of with mv_software.py
refs #887
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install')
-rw-r--r--abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install10
1 files changed, 9 insertions, 1 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install b/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install
index 142212b..a4e0c0d 100644
--- a/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install
+++ b/abs/core/mythtv/stable-0.25/mythplugins/mythplugins-mythzoneminder.install
@@ -1,3 +1,11 @@
post_install() {
- echo "If you want to use this plugin, install zoneminder from AUR."
+ . /etc/systemconfig
+ if [ $SystemType = Master_backend -o $SystemType = Standalone ]
+ then
+ echo "This looks a zoneminder server install"
+ echo "Installing zoneminder"
+ #for reference the pacman statement below will not work because of a db lock.
+ pacman -S zoneminder
+ fi
+
}