diff -u alsa-utils-1.0.11/debian/changelog alsa-utils-1.0.11/debian/changelog --- alsa-utils-1.0.11/debian/changelog +++ alsa-utils-1.0.11/debian/changelog @@ -1,3 +1,10 @@ +alsa-utils (1.0.11-3) unstable; urgency=low + + * debian/init: Forward-port fix from Ubuntu #43197 so that leading + whitespace won't trip up echo_card_indices() with Linux 2.6.16+. + + -- Daniel T Chen Thu, 11 May 2006 17:21:39 -0400 + alsa-utils (1.0.11-2) unstable; urgency=low [ Elimar Riesebieter ] diff -u alsa-utils-1.0.11/debian/init alsa-utils-1.0.11/debian/init --- alsa-utils-1.0.11/debian/init +++ alsa-utils-1.0.11/debian/init @@ -87,7 +87,7 @@ echo_card_indices() { if [ -f /proc/asound/cards ] ; then - sed -n -e's/^\([0-7]\)[[:space:]].*/\1/p' /proc/asound/cards + sed -n -e's/^[[:space:]]*\([0-7]\)[[:space:]].*/\1/p' /proc/asound/cards fi }