diff options
author | Aaron M. Ucko <ucko@debian.org> | 2021-02-06 23:36:44 -0500 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2021-02-06 23:38:56 -0500 |
commit | 1bb7a9b197c4b099207591f33b33b0cced08f5a7 (patch) | |
tree | 50a22d9d8650311851fdef53b9922304b5d533ad | |
parent | c5019c1219cabc0944a3dcb5f850396ba6bf4dff (diff) |
Use set -e rather than passing -e on the shebang-line.
Changes-By: lintian-brush
Fixes: lintian: maintainer-script-without-set-e
See-also: https://lintian.debian.org/tags/maintainer-script-without-set-e.html
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/postinst | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 57ea401..28a51a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ bsdgames-nonfree (2.17-9) UNRELEASED; urgency=medium * Remove trailing whitespace in debian/rules (routine-update) * Add salsa-ci file (routine-update) * No tab in license text (routine-update) + * Use set -e rather than passing -e on the shebang-line. -- Aaron M. Ucko <ucko@debian.org> Sat, 06 Feb 2021 23:35:57 -0500 diff --git a/debian/postinst b/debian/postinst index 7abc2df..e253477 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e VARDIR=/var/games/bsdgames-nonfree SCOREFILES="$VARDIR/rogue.scores" |