fixed indentation
This commit is contained in:
		
							parent
							
								
									581434287c
								
							
						
					
					
						commit
						3076214e78
					
				| @ -52,18 +52,18 @@ if [ "$1" = 'zammad-init' ]; then | |||||||
|   # check if database exists / update to new version |   # check if database exists / update to new version | ||||||
|   echo "initialising / updating database..." |   echo "initialising / updating database..." | ||||||
|   if ! (bundle exec rails r 'puts User.any?' 2> /dev/null | grep -q true); then |   if ! (bundle exec rails r 'puts User.any?' 2> /dev/null | grep -q true); then | ||||||
|         if [ "${POSTGRESQL_DB_CREATE}" == "true" ]; then |     if [ "${POSTGRESQL_DB_CREATE}" == "true" ]; then | ||||||
|           bundle exec rake db:create |       bundle exec rake db:create | ||||||
|         fi |     fi | ||||||
|         bundle exec rake db:migrate |     bundle exec rake db:migrate | ||||||
|         bundle exec rake db:seed |     bundle exec rake db:seed | ||||||
| 
 | 
 | ||||||
|         # create autowizard.json on first install |     # create autowizard.json on first install | ||||||
|         if [ -n "${AUTOWIZARD_JSON}" ]; then |     if [ -n "${AUTOWIZARD_JSON}" ]; then | ||||||
|           echo "${AUTOWIZARD_JSON}" | base64 -d > auto_wizard.json |       echo "${AUTOWIZARD_JSON}" | base64 -d > auto_wizard.json | ||||||
|         fi |     fi | ||||||
|   else |   else | ||||||
|         bundle exec rake db:migrate |     bundle exec rake db:migrate | ||||||
|   fi |   fi | ||||||
|   |   | ||||||
|   # es config |   # es config | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user