diff --git a/cc-cleaner.sh b/cc-cleaner.sh index f0193b9..2d7818e 100755 --- a/cc-cleaner.sh +++ b/cc-cleaner.sh @@ -8,6 +8,10 @@ echo "" echo -e "${idsCL[LightGreen]}Cluster Control Removal Script${idsCL[Default]}" echo "" +cd ~ +wget https://severalnines.com/downloads/cmon/install-cc +chmod +x ./install-cc + read -n 1 -p "Are you sure you wish to remove Cluster Control and all data (Y/n)?" choice case "$choice" in [Nn]) echo ''; ;; @@ -44,9 +48,6 @@ read -n 1 -p "Would you like to now re-install Cluster Control (Y/n)?" choice case "$choice" in [Nn]) echo ''; exit 0;; * ) - cd ~ - wget https://severalnines.com/downloads/cmon/install-cc - chmod +x ./install-cc ./install-cc /opt/copycerts.sh