Author:   Lars Michelsen <[email protected]>
Date:     Fri Jul  8 13:20:04 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Fri Jul  8 13:20:04 2011 +0200

omd_install: Installing missing doc/ dir now; Cleaning cache files on install

---

 ChangeLog      |    4 ++++
 omd_install.sh |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 61d7121..915fc45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
 1.6b3
+
+Core
+  * omd_install: Installing missing doc/ dir now; Cleaning cache files on 
install
+
 Automap
   * Improved coordinate parsing regex to match graphviz output of more versions
   * Commented out __dummy__ host in sample automap config to prevent
diff --git a/omd_install.sh b/omd_install.sh
index 046293b..dac194e 100755
--- a/omd_install.sh
+++ b/omd_install.sh
@@ -58,6 +58,7 @@ fi
 
 mkdir -p $OMD_ROOT/local/share/nagvis/htdocs
 cp -r share/* $OMD_ROOT/local/share/nagvis/htdocs
+cp -r docs $OMD_ROOT/local/share/nagvis/htdocs/
 
 # Update "old" (1.5) userfiles dir
 if [ -d $OMD_ROOT/var/nagvis/userfiles ]; then
@@ -190,6 +191,9 @@ patch -s 
$OMD_ROOT/local/share/nagvis/htdocs/server/core/defines/global.php <<EO
  define('CONST_NEEDED_PHP_VERSION', '5.0');
 EOF
 
+# Cleanup temporary files
+find $OMD_ROOT/tmp/nagvis -type f -exec rm {} \;
+
 omd reload apache
 
 echo "            ...done."


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to