From bd7df68b59a50e2876312436841121ae04892b93 Mon Sep 17 00:00:00 2001 From: Dev Dua Date: Tue, 10 Jul 2018 12:01:10 +0530 Subject: [PATCH] Removed backup and restore of docker-compose.yml (Docker Hub fail-safe) --- helk_update.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/helk_update.sh b/helk_update.sh index f2dedb2..0bac825 100755 --- a/helk_update.sh +++ b/helk_update.sh @@ -26,8 +26,6 @@ check_min_requirements(){ echo "[HELK-UPDATE-ERROR] Available Memory (GB): ${AVAILABLE_MEMORY}" echo "[HELK-UPDATE-ERROR] Check the requirements section in our installation Wiki" echo "[HELK-UPDATE-ERROR] Installation Wiki: https://github.com/Cyb3rWard0g/HELK/wiki/Installation" - mv docker-compose.yml.bak docker-compose.yml >> $LOGFILE 2>&1 - rm docker-compose.yml.bak >> $LOGFILE 2>&1 exit 1 fi else @@ -102,9 +100,6 @@ if [ $REBUILD_NEEDED == 1 ]; then sleep 180 get_jupyter_token echo -e "[HELK-UPDATE-INFO] YOUR HELK HAS BEEN UPDATED!" - rm docker-compose.yml.bak >> $LOGFILE 2>&1 else echo -e "[HELK-UPDATE-INFO] YOUR HELK IS ALREADY UP-TO-DATE." -fi - -chmod 666 docker-compose.yml >> $LOGFILE 2>&1 \ No newline at end of file +fi \ No newline at end of file