Author:   Lars Michelsen <[email protected]>
Date:     Mon Nov 14 14:25:57 2011 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Nov 14 14:25:57 2011 +0100

added conf.d directory to installer

---

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

diff --git a/install.sh b/install.sh
index 8f815ef..f3173bb 100755
--- a/install.sh
+++ b/install.sh
@@ -1330,6 +1330,7 @@ makedir "$NAGVIS_PATH/share/var"
 LINE="Copying files to $NAGVIS_PATH..."
 copy "share" "$NAGVIS_PATH"
 copy "etc" "$NAGVIS_PATH"
+makedir "$NAGVIS_PATH/etc/conf.d"
 makedir "$NAGVIS_PATH/etc/profiles"
 copy "README" "$NAGVIS_PATH"
 copy "LICENCE" "$NAGVIS_PATH"
@@ -1474,6 +1475,11 @@ if [ "$INSTALLER_ACTION" = "update" -a "$NAGVIS_VER_OLD" 
!= "UNKNOWN" ]; then
     
         LINE="Restoring user configuration files..."
         restore "etc/profiles/" "user configuration files" ""
+
+        if [ -d $NAGVIS_PATH_BACKUP/etc/conf.d ]; then
+            LINE="Restoring conf.d/ configuration files..."
+            restore "etc/conf.d/" "conf.d configuration files" ""
+        fi
     
         LINE="Restoring custom map images..."
         restore "$USERFILES_DIR/images/maps/" "map image files" "/*demo*.png"


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to