more bugfix

This commit is contained in:
chabad360 2018-08-01 15:00:18 -07:00
parent a66099dda0
commit 82c839b14a

6
dbench
View file

@ -28,12 +28,12 @@ frappe_installer () {
if [[ $# -eq 0 ]]; then
docker exec -it frappe bash
elif [ $1 == 'init' ] && [ $2 == 'e' ]
elif [[ $1 == 'init' && $2 == 'e' ]]
then
frappe_installer
echo "installing erpnext"
docker exec -it frappe bash -c "bench get-app erpnext" | echo
docker exec -it frappe bash -c "bench --site site1.local install-app erpnext" | echo
docker exec -it frappe bash -c "bench get-app erpnext"
docker exec -it frappe bash -c "bench --site site1.local install-app erpnext"
echo "finished"
elif [ $1 == 'init' ]