Repository: ambari
Updated Branches:
  refs/heads/trunk 574461df0 -> 40f1c4e8f


AMBARI-6987. Ambari upgrade. resource managemnt need refactoring in 
install-helper.py.->remove(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/40f1c4e8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/40f1c4e8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/40f1c4e8

Branch: refs/heads/trunk
Commit: 40f1c4e8f35bc718681d28a93ea021a412070206
Parents: 574461d
Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Authored: Tue Aug 26 16:39:55 2014 +0300
Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Committed: Tue Aug 26 16:40:14 2014 +0300

----------------------------------------------------------------------
 ambari-agent/conf/unix/install-helper.sh  | 7 -------
 ambari-server/conf/unix/install-helper.sh | 3 ---
 2 files changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/40f1c4e8/ambari-agent/conf/unix/install-helper.sh
----------------------------------------------------------------------
diff --git a/ambari-agent/conf/unix/install-helper.sh 
b/ambari-agent/conf/unix/install-helper.sh
index 497db8d..0be3d2d 100644
--- a/ambari-agent/conf/unix/install-helper.sh
+++ b/ambari-agent/conf/unix/install-helper.sh
@@ -51,13 +51,6 @@ do_install(){
 }
 
 do_remove(){
-  if [ -d "$COMMON_DIR" ]; then  # common dir exists
-    rm -f "$COMMON_DIR"
-  fi
-
-  if [ -d "$RESOURCE_MANAGEMENT_DIR" ]; then  # resource_management dir exists
-    rm -f "$RESOURCE_MANAGEMENT_DIR"
-  fi
 
   if [ -f "$PYTHON_WRAPER_TARGET" ]; then
     rm -f "$PYTHON_WRAPER_TARGET"

http://git-wip-us.apache.org/repos/asf/ambari/blob/40f1c4e8/ambari-server/conf/unix/install-helper.sh
----------------------------------------------------------------------
diff --git a/ambari-server/conf/unix/install-helper.sh 
b/ambari-server/conf/unix/install-helper.sh
index 30946a5..751bcd0 100644
--- a/ambari-server/conf/unix/install-helper.sh
+++ b/ambari-server/conf/unix/install-helper.sh
@@ -51,9 +51,6 @@ do_install(){
 
 do_remove(){
 
-  rm -rf "$COMMON_DIR"
-  rm -rf "$RESOURCE_MANAGEMENT_DIR"
-
   if [ -f "$PYTHON_WRAPER_TARGET" ]; then
     rm -f "$PYTHON_WRAPER_TARGET"
   fi

Reply via email to