summaryrefslogtreecommitdiff
path: root/buildstream/plugins/elements/dpkg_deploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/plugins/elements/dpkg_deploy.py')
-rw-r--r--buildstream/plugins/elements/dpkg_deploy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/plugins/elements/dpkg_deploy.py b/buildstream/plugins/elements/dpkg_deploy.py
index 6cab00e91..e2b3470a0 100644
--- a/buildstream/plugins/elements/dpkg_deploy.py
+++ b/buildstream/plugins/elements/dpkg_deploy.py
@@ -102,7 +102,7 @@ will create a package named "foo-bar"
package-scripts
---------------
-preinstall, postinstall, prerm and postrm scripts will be generated
+preinst, postinst, prerm and postrm scripts will be generated
based on data in pacakge-scripts, if it exists. The scripts are formatted as
raw text, e.g.
@@ -111,11 +111,11 @@ 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