From 00c74d139a3389845cb93ad7430229df486824b6 Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Sat, 16 Mar 2019 21:41:35 -0500 Subject: [PATCH] Fix example gramps files so media is found (#785) Fixes #11015 On Windows the location of the example files is "c:\program files\grampsaio64-5.0.1\share\doc\gramps\example\gramps". On my Ubuntu install from the .deb file these files are in "/usr/share/doc/gramps/example/gramps" Since the default GRAMPS_RESOURCES value for each system is the 'share', to find the media files we need to append "/doc/gramps/example/gramps" to have the example files work properly. --- example/gramps/data.gramps | 2 +- example/gramps/example.gramps | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/gramps/data.gramps b/example/gramps/data.gramps index 454934be8..65ef2a666 100644 --- a/example/gramps/data.gramps +++ b/example/gramps/data.gramps @@ -15,7 +15,7 @@ (555)123-4567 anyone@someplace.com - {GRAMPS_RESOURCES}/example/gramps + {GRAMPS_RESOURCES}/doc/gramps/example/gramps diff --git a/example/gramps/example.gramps b/example/gramps/example.gramps index c91259634..780a5d5a3 100644 --- a/example/gramps/example.gramps +++ b/example/gramps/example.gramps @@ -7,7 +7,7 @@ Alex Roitman,,, - {GRAMPS_RESOURCES}/example/gramps + {GRAMPS_RESOURCES}/doc/gramps/example/gramps