erplibre/script/addons/update_addons_all.sh
Mathieu Benoit 3f8dfcd392 [ADD] script update_addons_all.sh and update_prod_to_dev.sh
- first script help to update all modules for a database
- second script help to test a production database without affecting it
2023-02-13 18:00:36 -05:00

11 lines
203 B
Bash
Executable file

#!/usr/bin/env bash
echo "Update all on BD '$1'"
./run.sh --no-http --stop-after-init -d "$1" -u all
retVal=$?
if [[ $retVal -ne 0 ]]; then
echo "Error run.sh into update_addons_all.sh"
exit 1
fi