component/firefox: generate a fallback $FONTCONFIG_FILE
Jérome Perrin authored
Since e5687602 it's instance
responsability to generate a fonts.conf if they need fonts, but we
realized to late that if there is no /etc/fonts/fonts.conf on the
machine firefox does not start.

In recent ERP5 software release, we have a $FONTCONFIG_FILE, but on
older versions we don't.

To keep compatibility with old ERP5 software release, we generate a
default FONTCONFIG_FILE that will be used as fallback when
$FONTCONFIG_FILE environment variable is not set.
8cc12eb3

slapos.cookbook

Cookbook of SlapOS recipes.

testing

Unit tests for recipes can be found under slapos/test/recipe. To run the tests use provided unittest.defaultTestLoader inside slapos/test/test_recipe by invoking

python setup.py test --test-suite slapos.test.test_recipe.additional_tests