diff options
author | P. J. McDermott <pjm@nac.net> | 2012-07-21 07:49:45 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-07-21 07:49:45 (EDT) |
commit | 66e15cc7256ff7cd438386b053da0aa23d4da51a (patch) | |
tree | cd7a47b9a8c14c476ff88ca533afc6cc542188ae /src | |
parent | 9a8457da579988f153ef5bb17b5235f8e582758d (diff) | |
download | deb-66e15cc7256ff7cd438386b053da0aa23d4da51a.zip deb-66e15cc7256ff7cd438386b053da0aa23d4da51a.tar.gz deb-66e15cc7256ff7cd438386b053da0aa23d4da51a.tar.bz2 |
Download only the newest source package.
NB: This assumes that dak et al. add newer versions to the end of the
Sources list.
Diffstat (limited to 'src')
-rwxr-xr-x | src/deb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -242,7 +242,7 @@ EOF pkg="${1}" - line="$(grep "^${pkg} " "${DEB_DIR}/dsc.list")" || \ + line="$(grep "^${pkg} " "${DEB_DIR}/dsc.list" | tail -n 1)" || \ error 'Package "%s" not found' "${pkg}" dsc="${line#${pkg} }" |