mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Add update function
This commit is contained in:
parent
81e5ed5de3
commit
61d4104eed
@ -136,6 +136,13 @@ case $# in
|
||||
echo -e "No changes have been made to the system"
|
||||
exit
|
||||
;;
|
||||
|
||||
update)
|
||||
echo -e "${PURPLE}Info:${NC} Update requested"
|
||||
echo -e "This will fail unless you installed via Git"
|
||||
git pull
|
||||
exit
|
||||
;;
|
||||
|
||||
*)
|
||||
echo -e "${RED}'$1' is not a valid argument${NC}"
|
||||
|
Loading…
Reference in New Issue
Block a user