r169 - mdadm/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Wed Sep 13 19:19:07 UTC 2006


Author: madduck
Date: 2006-09-13 19:19:06 +0000 (Wed, 13 Sep 2006)
New Revision: 169

Modified:
   mdadm/trunk/debian/changelog
   mdadm/trunk/debian/mdadm.postinst
Log:
   * Correct error related to an unbound variable in postinst.
   * Keeping medium urgency.


Modified: mdadm/trunk/debian/changelog
===================================================================
--- mdadm/trunk/debian/changelog	2006-09-13 15:05:15 UTC (rev 168)
+++ mdadm/trunk/debian/changelog	2006-09-13 19:19:06 UTC (rev 169)
@@ -1,3 +1,10 @@
+mdadm (2.5.3.git200608202239-4) unstable; urgency=medium
+
+  * Correct error related to an unbound variable in postinst.
+  * Keeping medium urgency.
+
+ -- martin f. krafft <madduck at debian.org>  Wed, 13 Sep 2006 20:49:33 +0200
+
 mdadm (2.5.3.git200608202239-3) unstable; urgency=medium
 
   * Urgency medium because of RC bugs.

Modified: mdadm/trunk/debian/mdadm.postinst
===================================================================
--- mdadm/trunk/debian/mdadm.postinst	2006-09-13 15:05:15 UTC (rev 168)
+++ mdadm/trunk/debian/mdadm.postinst	2006-09-13 19:19:06 UTC (rev 169)
@@ -38,7 +38,7 @@
     ALTCONFIG=/etc/mdadm.conf
     MDADM=/sbin/mdadm
 
-    if [ -z "$2" ] && [ -s /etc/mdctl/mdctl.conf ] \
+    if [ -z "${2:-}" ] && [ -s /etc/mdctl/mdctl.conf ] \
         && [ ! -f /etc/mdadm/mdadm.conf ]; then
       cp -a /etc/mdctl/mdctl.conf /etc/mdadm/mdadm.conf
     fi
@@ -124,7 +124,7 @@
     # changelog). Do this before update-initramfs, which copies udev into
     # initrd.
     V=2.5.3.git200608202239-1~
-    if [ "$1" = "configure" ] && [ -n "${2:-}" ] \
+    if [ "${1:-}" = "configure" ] && [ -n "${2:-}" ] \
         && dpkg --compare-versions $2 ge 2.5.2-10 \
         && dpkg --compare-versions $2 lt $V; then
 




More information about the pkg-mdadm-commits mailing list