metadep-expander: Made unified warning messages

This commit is contained in:
Anton Midyukov 2022-04-10 00:42:54 +07:00
parent 93155bdf14
commit db3892ab0c

View File

@ -11,7 +11,8 @@ metapkgs="$(grep -e @META "$f" | grep -v '^#')"
for metapkg in $metapkgs; do
metapkg=${metapkg%@META}
if ! "$APT_CACHE" show "$metapkg" > /dev/null 2>&1; then
echo "Warning: Metapackage $metapkg not available!!!" >&2
echo "** warning: Metapackage '$metapkg' not available!!!" 1>&2
echo "** warning: '$metapkg' removed from $f" 1>&2
continue
fi
t="`mktemp`"