erplibre/script/addons/install_addons_dev.sh

14 lines
318 B
Bash
Raw Normal View History

#!/usr/bin/env bash
./script/addons/check_addons_exist.py -m "$2"
retVal=$?
if [[ $retVal -ne 0 ]]; then
echo "Error install_addons.sh"
exit 1
fi
./run.sh --no-http --stop-after-init --dev qweb -d "$1" -i "$2" -u "$2"
retVal=$?
if [[ $retVal -ne 0 ]]; then
echo "Error install_addons_dev.sh"
exit 1
fi