[debian-edu-commits] debian-edu/ 225/437: debian-edu-artwork.preinst, debian-edu-artwork.postrm: use "set -e" in the body of the script, rather than on the "#!" line, to ensure it invoked even if script is run manually.
Mike Gabriel
sunweaver at debian.org
Sun Mar 2 23:49:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository debian-edu-artwork.
commit 3123ab45b5a48667beac2775fedb4e6bfc355203
Author: Vagrant Cascadian <vagrant at freegeek.org>
Date: Sun May 31 18:19:19 2009 +0000
debian-edu-artwork.preinst, debian-edu-artwork.postrm: use "set -e" in the body
of the script, rather than on the "#!" line, to ensure it invoked even if
script is run manually.
---
debian/changelog | 9 ++++++---
debian/debian-edu-artwork.postrm | 4 +++-
debian/debian-edu-artwork.preinst | 4 +++-
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 56d83e3..6ecbee9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,10 +2,13 @@ debian-edu-artwork (0.0.30-2~svn0) unstable; urgency=low
* use relative path in postinst when calling update-initramfs, to appease
lintian.
- * fix typo in debian-edu-artwork-usplash.prerm to remove the appropriate
- usplash-artwork alternative
+ * debian-edu-artwork-usplash.prerm: fix typo so that it removes the
+ appropriate usplash-artwork alternative
+ * debian-edu-artwork.preinst, debian-edu-artwork.postrm:
+ - use "set -e" in the body of the script, rather than on the "#!" line, to
+ ensure it invoked even if script is run manually.
- -- Vagrant Cascadian <vagrant at freegeek.org> Sun, 31 May 2009 10:29:12 -0700
+ -- Vagrant Cascadian <vagrant at freegeek.org> Sun, 31 May 2009 11:16:57 -0700
debian-edu-artwork (0.0.30-1) unstable; urgency=low
diff --git a/debian/debian-edu-artwork.postrm b/debian/debian-edu-artwork.postrm
index 30346cc..866cfa9 100644
--- a/debian/debian-edu-artwork.postrm
+++ b/debian/debian-edu-artwork.postrm
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if [ "$1" = remove ]
then
diff --git a/debian/debian-edu-artwork.preinst b/debian/debian-edu-artwork.preinst
index e0f9f4c..a6898e5 100644
--- a/debian/debian-edu-artwork.preinst
+++ b/debian/debian-edu-artwork.preinst
@@ -1,4 +1,6 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
if [ "$1" = install ] || [ $1 = upgrade ]
then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git
More information about the debian-edu-commits
mailing list