summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-08 15:54:09 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-08-08 15:54:09 +0000
commitf6919e0ef8d38be98efedee6edc4021451f1a0ab (patch)
treecb41578b2d71d1fabe7a4a811ce05e7dcdfdde2a
parentaede0a3891fc37b071e5efaa5e42bc56e3ce8879 (diff)
debhelper workarounds
-rw-r--r--debian/mdadm.postinst3
-rw-r--r--debian/mdadm.postrm2
-rw-r--r--debian/mdadm.preinst3
3 files changed, 7 insertions, 1 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst
index f1091f82..4b2fb7de 100644
--- a/debian/mdadm.postinst
+++ b/debian/mdadm.postinst
@@ -127,7 +127,10 @@ then
update-rc.d -f mdadm-raid remove
fi
+# See #369953
+set +u
#DEBHELPER#
+set -u
# do start mdadm-raid, but don't use dh_installinit to do so, to prevent
# stopping raids on remove/upgrade.
diff --git a/debian/mdadm.postrm b/debian/mdadm.postrm
index b73f6ba7..f80e16eb 100644
--- a/debian/mdadm.postrm
+++ b/debian/mdadm.postrm
@@ -29,5 +29,5 @@ esac
# just in case somebody actually purges mdadm, we need this to make debconf
# (added by dh_installdebconf) behave. See #369953
set +u
-
#DEBHELPER#
+set -u
diff --git a/debian/mdadm.preinst b/debian/mdadm.preinst
index 7bf52425..33f01160 100644
--- a/debian/mdadm.preinst
+++ b/debian/mdadm.preinst
@@ -12,4 +12,7 @@ if [ -s $OLDCONFIG ] && [ ! -f $DEBIANCONFIG ]; then
mv $OLDCONFIG $DEBIANCONFIG
fi
+# See #369953
+set +u
#DEBHELPER#
+set -u