Commit c473eeeb authored by Adam D. Barratt's avatar Adam D. Barratt

puprep: fix arch-specific existence check

Signed-off-by: 's avatarAdam D. Barratt <adam@adam-barratt.org.uk>
parent 2f95ae48
......@@ -94,7 +94,7 @@ do
then
for arch in $arches
do
if ! grep -q "^${pkg} .* ${arch}$" "${SUITE}.cs"
if [ -z "$(dak ls -s ${SUITE} -f control-suite -S $pkg -a $arch)" ]
then
echo "WARNING: package ${pkg} listed in REMOVALS appears not to exist on ${arch} in ${SUITE}, skipping" >&2
continue 2 # break out to the package iterator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment