searchall: exclude cygwin32 packages
This commit is contained in:
parent
b1d9475b34
commit
4e05a4540b
14
apt-cyg
14
apt-cyg
|
@ -417,15 +417,11 @@ function apt-searchall {
|
||||||
printf -v qs 'text=1&arch=%s&grep=%s' $arch "$pkg"
|
printf -v qs 'text=1&arch=%s&grep=%s' $arch "$pkg"
|
||||||
wget -O matches cygwin.com/cgi-bin2/package-grep.cgi?"$qs"
|
wget -O matches cygwin.com/cgi-bin2/package-grep.cgi?"$qs"
|
||||||
awk '
|
awk '
|
||||||
{
|
NR == 1 {next}
|
||||||
if (NR == 1)
|
mc[$1]++ {next}
|
||||||
next
|
/-debuginfo-/ {next}
|
||||||
if (mc[$1]++)
|
/^cygwin32-/ {next}
|
||||||
next
|
{print $1}
|
||||||
if (/-debuginfo-/)
|
|
||||||
next
|
|
||||||
print $1
|
|
||||||
}
|
|
||||||
' FS=-[[:digit:]] matches
|
' FS=-[[:digit:]] matches
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue