Environment variables in mediapath

The mediapath could now be a relative path from database location,
or use variables ($GRAMPSHOME, $GRAMPS_RESOURCES, etc.)
This commit is contained in:
belissent
2015-08-19 16:26:59 +02:00
parent 65ff7340af
commit 5d654d402a
6 changed files with 187 additions and 83 deletions

View File

@@ -7,7 +7,7 @@
<researcher>
<resname>Alex Roitman,,,</resname>
</researcher>
<mediapath>/home/pierre/Gramps/master/example/gramps</mediapath>
<mediapath>$GRAMPS_RESOURCES/example/gramps</mediapath>
</header>
<name-formats>
<format number="-1" name="SURNAME, Given (Common)" fmt_str="SURNAME, given (common)" active="1"/>