Module: nagvis
Branch: master
Commit: ae142e728be45c476581ce543d4c368fd0c3b15a
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=ae142e728be45c476581ce543d4c368fd0c3b15a

Author: Lars Michelsen <[email protected]>
Date:   Tue Aug 18 23:15:30 2009 +0200

Addition to latest change: NAGVIS_PATH uses given NAGIOS_PATH in dialog as base

---

 install.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/install.sh b/install.sh
index bf9fa2d..7f51dbb 100755
--- a/install.sh
+++ b/install.sh
@@ -575,6 +575,10 @@ else
        exit 1
 fi
 
+# NagVis below 1.5 depends on the given Nagios path
+# So set it here when some given by param
+[ $NAGVIS_TAG -lt 01050000 ]&&NAGVIS_PATH="${NAGIOS_PATH%/}/share/nagvis"
+
 # Get NagVis path
 if [ $INSTALLER_QUIET -ne 1 ]; then
        echo -n "| Please enter the path to NagVis base [$NAGVIS_PATH]: "


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to