diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-09-17 09:39:55 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-09-17 09:39:55 +0000 |
commit | 0b12df2997c3e5ab56426ee40f837f523a53da9c (patch) | |
tree | d5c654a540ff0673dc5e1de1d91db25a13a2f708 /debian/mdadm.config | |
parent | 93ad7927b74c310a00cc8d948fb05f6ae20f406a (diff) |
correcting function name
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r-- | debian/mdadm.config | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config index 1376e578..aa71de34 100644 --- a/debian/mdadm.config +++ b/debian/mdadm.config @@ -79,8 +79,13 @@ get_initrdstart() { 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 @@ fi 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 |