From 69b77606a51104b24b0b8ae1889a045945cd8105 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 22 May 2020 10:21:11 -0500 Subject: [PATCH] Update verification removed Live on the edge --- gravity-sync.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index e7eaa68..d9a3c21 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -145,20 +145,8 @@ case $# in echo -e "${GREEN}Success:${NC} Update Requested" # echo -e "${PURPLE}Info:${NC} Gravity Sync ${VERSION}" # echo -e "${YELLOW}UPDATING REQUIRES ORIGINAL INSTALL VIA GIT${NC}" - echo -e "Are you sure you want to update?" - select yn in "Yes" "No"; do - case $yn in - Yes ) - git pull - exit - ;; - - No ) - echo "No changes have been made to the system" - exit - ;; - esac - done + git reset --hard + git pull exit ;;