diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index f2184d09f3..e5526ef65e 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -2664,7 +2664,6 @@ | |||
2664 | A post-installation function has the following structure: | 2664 | A post-installation function has the following structure: |
2665 | <literallayout class='monospaced'> | 2665 | <literallayout class='monospaced'> |
2666 | pkg_postinst_PACKAGENAME() { | 2666 | pkg_postinst_PACKAGENAME() { |
2667 | #!/bin/sh -e | ||
2668 | # Commands to carry out | 2667 | # Commands to carry out |
2669 | } | 2668 | } |
2670 | </literallayout> | 2669 | </literallayout> |
@@ -2687,7 +2686,6 @@ | |||
2687 | structure in the post-installation script: | 2686 | structure in the post-installation script: |
2688 | <literallayout class='monospaced'> | 2687 | <literallayout class='monospaced'> |
2689 | pkg_postinst_PACKAGENAME() { | 2688 | pkg_postinst_PACKAGENAME() { |
2690 | #!/bin/sh -e | ||
2691 | if [ x"$D" = "x" ]; then | 2689 | if [ x"$D" = "x" ]; then |
2692 | # Actions to carry out on the device go here | 2690 | # Actions to carry out on the device go here |
2693 | else | 2691 | else |