Module: nagvis Branch: master Commit: 69b3367e21550fe79b6033827e99484791b0df63 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=69b3367e21550fe79b6033827e99484791b0df63
Author: LaMi <[email protected]> Date: Wed Jan 27 20:17:35 2010 +0100 Installer also moves automap configuration files when updating 1.5x or above --- install.sh | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/install.sh b/install.sh index 4835984..92918e2 100755 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ ############################################################################### # Installer version -INSTALLER_VERSION="0.2.10" +INSTALLER_VERSION="0.2.11" # Default action INSTALLER_ACTION="install" # Be quiet? (Enable/Disable confirmations) @@ -1127,6 +1127,9 @@ if [ "$INSTALLER_ACTION" = "update" -a "$NAGVIS_VER_OLD" != "UNKNOWN" ]; then LINE="Restoring custom map configuration files..." copy "\/(demo\.cfg|demo2\.cfg|demo-server\.cfg|demo-map\.cfg)$" "etc/maps" "map configuration files" + LINE="Restoring custom automap configuration files..." + copy "\/(__automap\.cfg)$" "etc/automaps" "automap configuration files" + LINE="Restoring custom map images..." copy "\/nagvis-demo\.png$" "$USERFILES_DIR/images/maps" "map image files" @@ -1189,6 +1192,9 @@ if [ $NAGVIS_TAG -lt 01050000 ]; then set_perm 775 "$NAGVIS_PATH/nagvis/var" set_perm 664 "$NAGVIS_PATH/nagvis/var/*" else + # NagVis 1.5x has an own automaps dir + set_perm 775 "$NAGVIS_PATH/etc/automaps" + set_perm 664 "$NAGVIS_PATH/etc/automaps/*" set_perm 775 "$NAGVIS_PATH/share/userfiles/images/maps" set_perm 664 "$NAGVIS_PATH/share/userfiles/images/maps/*" set_perm 775 "$NAGVIS_PATH/var" ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
