Package: auto-apt Version: 0.3.22 Severity: normal Tags: patch Hello.
I was unable to use auto-apt due to the fact that all lines in my sources.list file begin either with # or with tab. Since APT tolerates sources.list lines beginning with whitespace, I think it may be reasonable to enable auto-apt to parse such lines. I attach a simple one-line patch that addresses that problem Best regards Mateusz Poszwa -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.13 (SMP w/2 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages auto-apt depends on: ii libc6 2.13-27 Versions of packages auto-apt recommends: ii apt 0.8.15.10 ii devscripts 2.11.6 ii dpkg-dev 1.16.2 ii perl 5.14.2-9 ii sudo 1.8.3p2-1 ii wget 1.13.4-2 Versions of packages auto-apt suggests: ii build-essential 11.5 ii libgtk-perl <none> ii rxvt-unicode-256color [x-terminal-emulator] 9.15-1 -- no debconf information
145c145 < sed -ne 's=^deb[[:space:]][[:space:]]*\([^:[:space:]]*\):\([^[:space:]]*\)[[:space:]][[:space:]]*\([^[:space:]]*\)[[:space:]][[:space:]]*.*=\1 \2/dists/\3=p' | --- > sed -ne 's=^[[:space:]][[:space:]]*deb[[:space:]][[:space:]]*\([^:[:space:]]*\):\([^[:space:]]*\)[[:space:]][[:space:]]*\([^[:space:]]*\)[[:space:]][[:space:]]*.*=\1 \2/dists/\3=p' |