Add update function

This commit is contained in:
Michael Stanclift
2020-05-21 20:39:14 -05:00
parent 81e5ed5de3
commit 61d4104eed

View File

@ -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}"