Commit ee151de5 authored by Maurits van Rees's avatar Maurits van Rees Committed by Jim Fulton

Fixed typos in 'writing recipes' doc. (#365)

parent fd76def9
...@@ -216,7 +216,7 @@ Here's the recipe source, ``src/democonfigrecipe.py``:: ...@@ -216,7 +216,7 @@ Here's the recipe source, ``src/democonfigrecipe.py``::
f.write(self.options['contents']) f.write(self.options['contents'])
return self.options.created() return self.options.created()
updated = install update = install
.. -> src .. -> src
...@@ -332,7 +332,7 @@ Linux servers. When the part was uninstalled, it needed to run ...@@ -332,7 +332,7 @@ Linux servers. When the part was uninstalled, it needed to run
``/sbin/chkconfig`` to disable the service. Uninstall recipes don't ``/sbin/chkconfig`` to disable the service. Uninstall recipes don't
need to return anything. need to return anything.
Like uninstall recipes, install recipes need to be registered using Like install recipes, uninstall recipes need to be registered using
entry points, using the type ``zc.buildout.uninstall`` as can be seen entry points, using the type ``zc.buildout.uninstall`` as can be seen
in the `zc.recipe.rhrc setup script in the `zc.recipe.rhrc setup script
<https://github.com/zopefoundation/zc.recipe.rhrc/blob/master/setup.py#L23>`_. <https://github.com/zopefoundation/zc.recipe.rhrc/blob/master/setup.py#L23>`_.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment