Ben Finney <[email protected]> (19/01/2009):
> latest_debian_version=$(rmadison --suite ${suitename} ${packagename} \
>     | cut -d'|' -f 2 | sed -e 's/^[[:space:]]+//')

Beware, you need to limit that to the source (in case there's a binary
built that has the same name, and in case there are some archs out of
sync), e.g.:
| $ rmadison --suite unstable guile-1.6
|  guile-1.6 |    1.6.8-6 |      unstable | hppa, m68k, sparc
|  guile-1.6 |  1.6.8-6.1 |      unstable | source, alpha, amd64, arm, armel, 
hurd-i386, i386, ia64, mips, mipsel, powerpc, s390

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature

Reply via email to