mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-20 23:05:09 +00:00
Issue was with both messed up if and opposite placement for default
This commit is contained in:
parent
ee2c9c3a97
commit
2f7ca23290
1 changed files with 7 additions and 3 deletions
10
dbench
10
dbench
|
|
@ -32,9 +32,13 @@ if [[ $# -eq 0 ]]; then
|
||||||
docker exec -it frappe bash 'bench $@'
|
docker exec -it frappe bash 'bench $@'
|
||||||
|
|
||||||
elif [ $1 == '--init' ]; then
|
elif [ $1 == '--init' ]; then
|
||||||
site=$2
|
site=$3
|
||||||
if ! $2; then site="site1.local"; fi
|
if [ -z "$3" ]; then
|
||||||
if ! $3; then site="site1.local"; fi
|
site="site1.local"
|
||||||
|
fi
|
||||||
|
if [ -z "$2" ]; then
|
||||||
|
site="site1.local"
|
||||||
|
fi
|
||||||
echo "$site"
|
echo "$site"
|
||||||
frappe_installer $site
|
frappe_installer $site
|
||||||
if [ "$2" == '-e' ]; then
|
if [ "$2" == '-e' ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue