r140 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Tue Aug 22 20:14:35 UTC 2006
Author: madduck
Date: 2006-08-22 20:14:34 +0000 (Tue, 22 Aug 2006)
New Revision: 140
Modified:
mdadm/trunk/debian/mdadm.config
Log:
addressing #384222
Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config 2006-08-22 20:14:19 UTC (rev 139)
+++ mdadm/trunk/debian/mdadm.config 2006-08-22 20:14:34 UTC (rev 140)
@@ -111,10 +111,10 @@
fi
if [ -f $CONFIG ]; then
- if ! egrep -q "^ARRAY[[:space:]]+$i[[:space:]]+" $CONFIG; then
+ if ! egrep -q "^ARRAY[[:space:]]+$i([[:space:]]+|$)" $CONFIG; then
t="$(readlink -nf "$i")"
if [ -L "$i" ] \
- && egrep -q "^ARRAY[[:space:]]+$t[[:space:]]+" $CONFIG; then
+ && egrep -q "^ARRAY[[:space:]]+$t([[:space:]]|$)+" $CONFIG; then
i="$t"
else
db_subst mdadm/initrdstart_notinconf array "$i"
More information about the pkg-mdadm-commits
mailing list