erplibre/script/addons/uninstall_addons.sh

9 lines
216 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 -d "$1" --uninstall "$2"