- Enforce bash coding conventions across all scripts as outlined in new AGENTS.md - Convert local variables to lowercase and use proper quoting - Update conditionals to use `[[ ... ]]` and remove `function` keyword - Add support for setting git author name and email via env vars - Improve SSH key handling and git operations - Update documentation and changelog to reflect changes
10 lines
265 B
Bash
Executable File
10 lines
265 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
source set-addons-path
|
|
|
|
if [[ -n "$ADDONS_PATH" ]] && [[ -n "$ODOO_DATABASE" ]]; then
|
|
log-entrypoint "Run click-odoo-update for: $ADDONS_PATH"
|
|
(exec click-odoo-update --addons-path="$ADDONS_PATH" -d "$ODOO_DATABASE" ) || true
|
|
fi
|