From 949a5051000682d68ea145e9cdf0540c64309abe Mon Sep 17 00:00:00 2001 From: chabad360 Date: Thu, 2 Aug 2018 16:07:45 -0700 Subject: [PATCH] update dbench to include -u --- dbench | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dbench b/dbench index 0741f18a..0df6f5df 100644 --- a/dbench +++ b/dbench @@ -1,6 +1,6 @@ #!/bin/bash -if ! options=$(getopt -o hd:ace --long add,help,developer:,setup,start,init -- "$@") +if ! options=$(getopt -o hd:aceu --long add,help,developer:,setup,start,init -- "$@") then echo "entering container" docker exec -it frappe bash @@ -88,4 +88,12 @@ if setup; then else docker-compose fi + exit 0 +fi + +if init; then + if ! site; then + site="site1.local" + fi + frappe_installer site fi \ No newline at end of file