r178 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sun Sep 17 09:39:55 UTC 2006
Author: madduck
Date: 2006-09-17 09:39:55 +0000 (Sun, 17 Sep 2006)
New Revision: 178
Modified:
mdadm/trunk/debian/mdadm.config
Log:
correcting function name
Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config 2006-09-16 11:05:12 UTC (rev 177)
+++ mdadm/trunk/debian/mdadm.config 2006-09-17 09:39:55 UTC (rev 178)
@@ -79,8 +79,13 @@
db_capb escape
-if [ ! -x "$(command -v debconf-escape)" ]; then
- debconf-escape()
+if [ -x "$(command -v debconf-escape)" ]; then
+ debconf_escape()
+ {
+ debconf-escape $@
+ }
+else
+ debconf_escape()
{ # copied from debconf 1.4.72:
perl -e '
while (<>) {
@@ -95,7 +100,7 @@
msg=intro; suffix=''; error=0
while true; do
db_metaget mdadm/initrdstart_msg_${msg} extended_description || :
- db_subst mdadm/initrdstart msg "$(echo -e "${RET}${suffix}" | debconf-escape -e)"
+ db_subst mdadm/initrdstart msg "$(echo -e "${RET}${suffix}" | debconf_escape -e)"
ret=0; db_input low mdadm/initrdstart || ret=$?
db_go
More information about the pkg-mdadm-commits
mailing list