Package: autofs
Version: 4.1.3+4.1.4beta2-10
Followup-For: Bug #353921
Attached patch.
--
Thomas Adamcik
-- System Information:
Debian Release: 3.1
Architecture: i386 (x86_64)
Kernel: Linux 2.6.14.3
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Versions of packages autofs depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
-- debconf information excluded
--- /etc/auto.smb 2005-05-13 13:41:13.000000000 +0200
+++ auto.smb 2006-02-21 22:45:17.000000000 +0100
@@ -19,7 +19,7 @@
$SMBCLIENT -gNL $key 2>/dev/null| awk -v key="$key" -v opts="$opts" -F'|' -- '
BEGIN { ORS=""; first=1 }
- /Disk/ { if (first) { print opts; first=0 }; print " \\\n\t /" $2,
"://" key "/" $2 }
+ /Disk/ { if (first) { print opts; first=0 }; sub(/ /, "\\ ", $2);
print " \\\n\t /" $2, "://" key "/" $2 }
END { if (!first) print "\n"; else exit 1 }
'