make push executable, add to updown

This commit is contained in:
Penelope Gwen 2024-03-27 13:07:49 -06:00
parent 7b1aba1076
commit 3ec54ba492
2 changed files with 1 additions and 1 deletions

0
usr/bin/sapphrc_push Normal file → Executable file
View file

View file

@ -12,7 +12,7 @@ if [[ "${gs}" == *"modified"* && "${reslog}" == "" ]];then
exit 1
elif [[ $gs == *"modified"* ]];then
#local changes exist
sapphrc_backup
sapphrc_push
elif [[ "${reslog}" == "" ]];then
#remote changes exist
sapphrc_restore