From ee8048544303a35eead75ec3ef17f22fd8759868 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 22 Jan 2015 11:02:14 -0800 Subject: dev-manual: Removed #!/bin/sh -e from the base script form This start to the script is not really necessary and is in fact the rare case. I have removed two occurrences of it in the "Post-Installation Scripts" section where it was used in code as the best form to create a script. Reported-by: Robert P. J. Day (From yocto-docs rev: f7c1a1e135e8a9d76005bb6ae7b9cc2810f0af90) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.xml | 2 -- 1 file changed, 2 deletions(-) (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml') 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 @@ A post-installation function has the following structure: pkg_postinst_PACKAGENAME() { - #!/bin/sh -e # Commands to carry out } @@ -2687,7 +2686,6 @@ structure in the post-installation script: pkg_postinst_PACKAGENAME() { - #!/bin/sh -e if [ x"$D" = "x" ]; then # Actions to carry out on the device go here else -- cgit v1.2.3-54-g00ecf