summaryrefslogtreecommitdiff
path: root/buildstream/plugins/elements/dpkg_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugins/elements/dpkg_build.py')
-rw-r--r--buildstream/plugins/elements/dpkg_build.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/plugins/elements/dpkg_build.py b/buildstream/plugins/elements/dpkg_build.py
index d7e90a242..bd8402314 100644
--- a/buildstream/plugins/elements/dpkg_build.py
+++ b/buildstream/plugins/elements/dpkg_build.py
@@ -88,7 +88,7 @@ e.g.
package-scripts
---------------
-preinstall, postinstall, prerm and postrm scripts may be written to the
+preinst, postinst, prerm and postrm scripts may be written to the
package if they are detected. They are written as raw text. e.g.
.. code:: yaml
@@ -96,11 +96,11 @@ package if they are detected. They are written as raw text. e.g.
public:
package-scripts:
foo:
- preinstall: |
+ preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
- postinstall: |
+ postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh