mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Update verification removed
Live on the edge
This commit is contained in:
parent
245340338f
commit
69b77606a5
@ -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
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user