diff options
author | Guillem Jover <guillem@debian.org> | 2013-03-28 20:44:30 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-04-01 15:48:24 +0200 |
commit | 7b1b83d9df8a366a60a794faabfb073817ce2ba1 (patch) | |
tree | c447928edfeaabc7b695c83bd334bd450ea9b5f8 /doc | |
parent | 7a2cb4e45848a401919d9b78500c67693527fe8e (diff) | |
download | dpkg-7b1b83d9df8a366a60a794faabfb073817ce2ba1.tar.gz |
Do not pass -e in shell script shebangs, set it in the body
This guarantees that the -e option will be set even if the script is
invoked as an argument to sh.
Warned-by: lintian
Diffstat (limited to 'doc')
-rw-r--r-- | doc/triggers.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/triggers.txt b/doc/triggers.txt index bc4600161..5447135cd 100644 --- a/doc/triggers.txt +++ b/doc/triggers.txt @@ -462,7 +462,8 @@ scrollkeeper, goes like this: - Make the postinst modifications as described above. - Rename scrollkeeper-update to scrollkeeper-update-now - Provide a new wrapper script as scrollkeeper-update: - #!/bin/sh -e + #!/bin/sh + set -e if type dpkg-trigger >/dev/null 2>&1 && \ dpkg-trigger /usr/share/omf; then exit 0 |