feat(task): update Odoo CLI menu link and fix entrypoint.sh variable check
This commit is contained in:
3 files changed
+8
-8
No files matched your search
+5
-5
@@ -66,18 +66,18 @@ export default defineUserConfig({
|
||||
text: 'Odoo',
|
||||
link: '/images/odoo/',
|
||||
},
|
||||
{
|
||||
text: 'Odoo CLI',
|
||||
link: '/images/odoo-cli/',
|
||||
}
|
||||
{
|
||||
text: 'Odoo Mailgate',
|
||||
link: '/images/odoo-mailgate/',
|
||||
},
|
||||
{
|
||||
text: 'Odoo Upgrade',
|
||||
link: '/images/odoo-mcp/',
|
||||
link: '/images/odoo-upgrade/',
|
||||
},
|
||||
{
|
||||
text: 'Odoo CLI',
|
||||
link: '/images/odoocli/',
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ The Odoo Build project maintains these container images:
|
||||
|
||||
[Mint System Odoo](./odoo/README.md): A better Odoo image.
|
||||
|
||||
[Mint System Odoo CLI](./odoocli/README.md): Image to run the odoocli.
|
||||
[Mint System Odoo CLI](./odoo-cli/README.md): Image to run the odoocli.
|
||||
|
||||
[Mint System Odoo Mailgate](./odoo-mailgate/README.md): Receive and forward emails to Odoo.
|
||||
|
||||
|
||||
@@ -36,8 +36,8 @@ check_config() {
|
||||
local value="$2"
|
||||
local file_var="${param}_FILE"
|
||||
|
||||
if [ -n "${!file_var}" ] && [ -f "${!file_var}" ]; then
|
||||
value=$(cat "${!file_var}" | tr -d '\n\r' | sed 's/["\n\r]//g')
|
||||
if [[ -n "$file_var" ]] && [[ -f "$file_var" ]]; then
|
||||
value=$(cat "$file_var" | tr -d '\n\r' | sed 's/["\n\r]//g')
|
||||
elif grep -q -E "^\s*\b${param}\b\s*=" "$ODOO_RC" ; then
|
||||
value=$(grep -E "^\s*\b${param}\b\s*=" "$ODOO_RC" | cut -d " " -f3 | sed 's/["\n\r]//g')
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user