Don't crash if no sqlite.db

svn: r19577
This commit is contained in:
Doug Blank 2012-05-18 11:44:58 +00:00
parent a6ab4f5f02
commit f641712353

View File

@ -33,11 +33,11 @@ docs:
python manage.py graph_models grampsdb -i Person,Family,Source,Event,Repository,Place,Media,Note,Attribute,Datamap,Name,Lds,Tag,Address,Location,Url,NoteRef,SourceRef,EventRef,RepositoryRef,PersonRef,ChildRef,MediaRef -o docs/prim-sec-ref-tables.png python manage.py graph_models grampsdb -i Person,Family,Source,Event,Repository,Place,Media,Note,Attribute,Datamap,Name,Lds,Tag,Address,Location,Url,NoteRef,SourceRef,EventRef,RepositoryRef,PersonRef,ChildRef,MediaRef -o docs/prim-sec-ref-tables.png
empty: empty:
rm sqlite.db rm -f sqlite.db
sqlite3 sqlite.db < empty.sql sqlite3 sqlite.db < empty.sql
example: example:
rm sqlite.db rm -f sqlite.db
sqlite3 sqlite.db < example.sql sqlite3 sqlite.db < example.sql
clean: clean: