mirror of
https://github.com/vmstan/gravity-sync.git
synced 2025-07-07 10:14:04 -04: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"
|
echo -e "No changes have been made to the system"
|
||||||
exit
|
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}"
|
echo -e "${RED}'$1' is not a valid argument${NC}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user