summaryrefslogtreecommitdiffstats
path: root/src/deb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/deb.sh')
-rwxr-xr-xsrc/deb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deb.sh b/src/deb.sh
index 0559adc..e6269fb 100755
--- a/src/deb.sh
+++ b/src/deb.sh
@@ -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} }"