Project

General

Profile

« Previous | Next » 

Revision 3376

main Makefile: VegBIEN DB: Schemas: schemas/%/install, schemas/py_functions/install: Ignore errors if schema exists, so that install can be idempotent

View differences:

Makefile
234 234
### py_functions
235 235

  
236 236
schemas/py_functions/install: schemas/py_functions.sql _always
237
	<$< $(psqlAsAdminVegbien)
237
	-<$< $(psqlAsAdminVegbien)
238
# ignore errors if schema exists
238 239

  
239 240
### Others
240 241

  
241 242
schemas/%/install: schemas/%.sql _always
242
	<$< $(psqlAsBien)
243
	-<$< $(psqlAsBien)
244
# ignore errors if schema exists
243 245

  
244 246
schemas/%/uninstall: _always
245 247
	echo $(call rmSchemaCmd,$*)|$(psqlAsBien)

Also available in: Unified diff