2023-02-13 18:00:36 -05:00
|
|
|
#!/usr/bin/env bash
|
2024-02-23 13:01:10 -05:00
|
|
|
Red='\033[0;31m' # Red
|
|
|
|
|
Color_Off='\033[0m' # Text Reset
|
2023-02-13 18:00:36 -05:00
|
|
|
|
|
|
|
|
echo "Update all on BD '$1'"
|
|
|
|
|
|
|
|
|
|
./run.sh --no-http --stop-after-init -d "$1" -u all
|
|
|
|
|
|
|
|
|
|
retVal=$?
|
|
|
|
|
if [[ $retVal -ne 0 ]]; then
|
2024-02-23 13:01:10 -05:00
|
|
|
echo -e "${Red}Error${Color_Off} run.sh into update_addons_all.sh"
|
2023-02-13 18:00:36 -05:00
|
|
|
exit 1
|
|
|
|
|
fi
|