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:
@ -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}"
|
||||||
|
Reference in New Issue
Block a user