mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Move logging time for update
This commit is contained in:
parent
ed20d55f29
commit
3122a2bb15
@ -48,10 +48,10 @@ function import_gs {
|
||||
# Update Function
|
||||
function update_gs {
|
||||
TASKTYPE='UPDATE'
|
||||
logs_export # dumps log prior to execution because script stops after successful pull
|
||||
echo -e "${YELLOW}This update will fail if Gravity Sync was not installed via GitHub${NC}"
|
||||
git reset --hard
|
||||
git pull
|
||||
logs_export
|
||||
exit
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user