Author: Lars Michelsen <[email protected]>
Date: Thu May 24 22:15:58 2012 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Thu May 24 22:15:58 2012 +0200
Installer: Automatically removing showautomaps option from nagvis.ini.php
during update
---
ChangeLog | 3 +++
TODO | 1 -
install.sh | 4 ++++
3 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9089306..f9f7ff3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@ Core
* Checking conf.d directory modification time to detect removed config files
to be able to delete the config cache in this case
+Installer
+ * Automatically removing showautomaps option from nagvis.ini.php during
update
+
1.7b1
Core
diff --git a/TODO b/TODO
index 8308dc9..4075b34 100644
--- a/TODO
+++ b/TODO
@@ -4,7 +4,6 @@ This is a small file for storing quick thoughts about new
features and needed ch
Probleme:
- Warnings anzeigen, wenn Funktionen aus oldPhpVersionFixes.php angezogen
werden
- Sidebar auf/zu verschiebt Objekte, aber nicht den Hintergrund
- - Bug: Wenn eine Konfigurationsdatei gelöscht wird, wird der maincfg cache
nicht erneuert
Zu tun:
- Automap zu source umbauen
diff --git a/install.sh b/install.sh
index 4b261af..d6f32b4 100755
--- a/install.sh
+++ b/install.sh
@@ -1583,6 +1583,10 @@ if [ "$INSTALLER_ACTION" = "update" -a "$NAGVIS_VER_OLD"
!= "UNKNOWN" -a "$INSTA
sed -i '/^wuijs=/d' $NAGVIS_PATH/etc/nagvis.ini.php
chk_rc "| Error" "$DONE"
+ DONE=`log "Removing showautomaps option from main config..." done`
+ sed -i '/^showautomaps=/d' $NAGVIS_PATH/etc/nagvis.ini.php
+ chk_rc "| Error" "$DONE"
+
# Remove base and htmlbase path from cross path updated main
# configuration file
if [ "$NAGVIS_PATH_OLD" != "$NAGVIS_PATH" ]; then
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins