#!/bin/sh -e
empty=
for pkg in $(dh_listpackages -s | grep -- '-di$'); do
if [ -z "$(find debian/$pkg -type f)" ]; then
echo "$pkg will be empty" >&2
empty=1
fi
done
if [ "$empty" ]; then
exit 1
fi
I think we can get by with just emitting a warning and not returning an error.
I think the offending code is in commands/check:
#!/bin/sh -e
empty=
for pkg in $(dh_listpackages -s | grep -- '-di$'); do
if [ -z "$(find debian/$pkg -type f)" ]; then
echo "$pkg will be empty" >&2
empty=1
fi
done
if [ "$empty" ]; then
exit 1
fi
I think we can get by with just emitting a warning and not returning an error.