Ensure we fetch the source package matching the helper name

This commit is contained in:
Ruben Rodriguez 2022-11-09 16:24:00 -05:00
parent b19b78a4d1
commit 2e67e7c81e

View file

@ -146,9 +146,9 @@ cd PACKAGES/$PACKAGE
#Get package and uncompress it
apt-get update -c $LOCAL_APT/etc/apt.conf
if [ -n "$FIXED_VER" ]; then
apt-get source $PACKAGE=$FIXED_VER --download-only -c ${LOCAL_APT}/etc/apt.conf
apt-get source --only-source $PACKAGE=$FIXED_VER --download-only -c ${LOCAL_APT}/etc/apt.conf
else
apt-get source $PACKAGE --download-only -c ${LOCAL_APT}/etc/apt.conf
apt-get source --only-source $PACKAGE --download-only -c ${LOCAL_APT}/etc/apt.conf
fi
# Verify it first
if grep -q "BEGIN PGP SIGNATURE" *.dsc; then