Browse Source

chg: dev: [gogocarto] de-indent code !minor

odoo_fix_webhook_url
Valentin Lab 2 years ago
parent
commit
1af0c9b1f5
  1. 8
      gogocarto/lib/common

8
gogocarto/lib/common

@ -24,7 +24,12 @@ gogocarto:init() {
return 1
}
fi
if [ "$current_version" != "$GOGOCARTO_RELEASE" ]; then
## Check if we need to upgrade code.
if [ "$current_version" == "$GOGOCARTO_RELEASE" ]; then
return 0
fi
cd "${GOGOCARTO_CODE}" || return 1
if [ -d "$PWD"/.git ]; then
rm -rf "$PWD"/* "$PWD"/{.version,.env} || return 1
@ -50,7 +55,6 @@ gogocarto:init() {
}
rm -rf "$SERVICE_DATASTORE/var/cache/gogocarto/"*
fi
fi
}

Loading…
Cancel
Save