erplibre/script/addons/install_addons_restore_dev.sh
Mathieu Benoit cc438c8851 [FIX] script addons: check all return result
- this will give error when execute in parallel
2023-01-07 00:23:15 -05:00

13 lines
396 B
Bash
Executable file

#!/usr/bin/env bash
# "$1" code_generator_name
./script/database/db_restore.py --database "$1"
if [[ $retVal -ne 0 ]]; then
echo "Error ./script/database/db_restore.py into install_addons_restore_dev.sh"
exit 1
fi
./script/addons/install_addons_dev.sh "$1" "$1"
if [[ $retVal -ne 0 ]]; then
echo "Error ./script/addons/install_addons_dev.sh into install_addons_restore_dev.sh"
exit 1
fi