r176 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sat Sep 16 11:03:01 UTC 2006
Author: madduck
Date: 2006-09-16 11:03:00 +0000 (Sat, 16 Sep 2006)
New Revision: 176
Modified:
mdadm/trunk/debian/changelog
mdadm/trunk/debian/mdadm.config
Log:
Added stripped implementation of debconf-escape to .config file to cater
for upgrades from systems with older debconf versions.
Modified: mdadm/trunk/debian/changelog
===================================================================
--- mdadm/trunk/debian/changelog 2006-09-16 11:02:22 UTC (rev 175)
+++ mdadm/trunk/debian/changelog 2006-09-16 11:03:00 UTC (rev 176)
@@ -1,3 +1,10 @@
+mdadm (2.5.3.git200608202239-5~unreleased.3) UNRELEASED; urgency=low
+
+ * Added stripped implementation of debconf-escape to .config file to cater
+ for upgrades from systems with older debconf versions.
+
+ -- martin f. krafft <madduck at debian.org> Sat, 16 Sep 2006 13:01:26 +0200
+
mdadm (2.5.3.git200608202239-5~unreleased.2) UNRELEASED; urgency=medium
* Modified the patch responsible for pruning parent devices so that
Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config 2006-09-16 11:02:22 UTC (rev 175)
+++ mdadm/trunk/debian/mdadm.config 2006-09-16 11:03:00 UTC (rev 176)
@@ -79,6 +79,19 @@
db_capb escape
+if [ ! -x "$(command -v debconf-escape)" ]; then
+ debconf-escape()
+ { # copied from debconf 1.4.72:
+ perl -e '
+ while (<>) {
+ s/\\/\\\\/g;
+ s/\n/\\n/g;
+ print;
+ }
+ '
+ }
+fi
+
msg=intro; suffix=''; error=0
while true; do
db_metaget mdadm/initrdstart_msg_${msg} extended_description || :
More information about the pkg-mdadm-commits
mailing list