[debian-edu-commits] r80069 - trunk/src/firefox-tuning/debian
pere at alioth.debian.org
pere at alioth.debian.org
Thu May 16 08:21:52 UTC 2013
Author: pere
Date: 2013-05-16 08:21:52 +0000 (Thu, 16 May 2013)
New Revision: 80069
Modified:
trunk/src/firefox-tuning/debian/changelog
trunk/src/firefox-tuning/debian/postrm
trunk/src/firefox-tuning/debian/preinst
Log:
Add 'set -e' to preinst and postrm to make sure errors are not ignored. Thanks lintian for discovering this.
Modified: trunk/src/firefox-tuning/debian/changelog
===================================================================
--- trunk/src/firefox-tuning/debian/changelog 2013-05-16 08:18:58 UTC (rev 80068)
+++ trunk/src/firefox-tuning/debian/changelog 2013-05-16 08:21:52 UTC (rev 80069)
@@ -7,6 +7,8 @@
easier to understand.
* Update standards-version from 3.6.2 to 3.9.4. No changes needed.
* Remove unused file debian/conffiles from source.
+ * Add 'set -e' to preinst and postrm to make sure errors are not
+ ignored. Thanks lintian for discovering this.
-- Petter Reinholdtsen <pere at debian.org> Thu, 16 May 2013 09:35:40 +0200
Modified: trunk/src/firefox-tuning/debian/postrm
===================================================================
--- trunk/src/firefox-tuning/debian/postrm 2013-05-16 08:18:58 UTC (rev 80068)
+++ trunk/src/firefox-tuning/debian/postrm 2013-05-16 08:21:52 UTC (rev 80069)
@@ -1,5 +1,7 @@
#!/bin/bash
+set -e
+
case "$1" in
purge|remove|disappear)
dpkg-divert --package firefox-tuning --rename --remove /usr/lib/iceweasel/iceweasel
Modified: trunk/src/firefox-tuning/debian/preinst
===================================================================
--- trunk/src/firefox-tuning/debian/preinst 2013-05-16 08:18:58 UTC (rev 80068)
+++ trunk/src/firefox-tuning/debian/preinst 2013-05-16 08:21:52 UTC (rev 80069)
@@ -1,5 +1,7 @@
#!/bin/bash
+set -e
+
case "$1" in
install|upgrade)
dpkg-divert --package firefox-tuning --divert /usr/lib/iceweasel/iceweasel.real --rename /usr/lib/iceweasel/iceweasel
More information about the debian-edu-commits
mailing list