Package: autofs
Version: 4.1.4-8
Followup-For: Bug #339132

This patch corrects the problem and, I believe, retains the semantics
of the original sort command line.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-rc2
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages autofs depends on:
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  ucf                           2.003      Update Configuration File: preserv

Versions of packages autofs recommends:
ii  nfs-common                    1:1.0.7-3  NFS support files common to client

-- debconf information:
  autofs/upgrade-from-broken-version:
--- auto.net.orig       2005-11-15 09:23:12.000000000 -0700
+++ auto.net    2005-11-15 09:23:25.000000000 -0700
@@ -37,7 +37,7 @@
 # Newer distributions get this right
 SHOWMOUNT="$SMNT --no-headers -e $key"
 
-$SHOWMOUNT | LC_ALL=C sort +0 | \
+$SHOWMOUNT | LC_ALL=C sort -k 1 | \
        awk -v key="$key" -v opts="$opts" -- '
        BEGIN   { ORS=""; first=1 }
                { if (first) { print opts; first=0 }; print " \\\n\t" $1, key 
":" $1 }

Reply via email to