mirror of
https://github.com/vmstan/gravity-sync.git
synced 2025-06-23 14:20:32 -04:00
Move logging time for update
This commit is contained in:
parent
ed20d55f29
commit
3122a2bb15
@ -48,10 +48,10 @@ function import_gs {
|
|||||||
# Update Function
|
# Update Function
|
||||||
function update_gs {
|
function update_gs {
|
||||||
TASKTYPE='UPDATE'
|
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}"
|
echo -e "${YELLOW}This update will fail if Gravity Sync was not installed via GitHub${NC}"
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git pull
|
git pull
|
||||||
logs_export
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user