Commit 287adde5 authored by Anton Midyukov's avatar Anton Midyukov

bin/metadep-expander: fix output redirection to /dev/null

parent b858ef46
......@@ -10,7 +10,7 @@ metapkgs="$(grep -e @META "$f" | grep -v '^#')"
for metapkg in $metapkgs; do
metapkg=${metapkg%@META}
if ! "$APT_CACHE" show "$metapkg" 1>&2 2>/dev/null; then
if ! "$APT_CACHE" show "$metapkg" > /dev/null 2>&1; then
echo "Error: Metapackage $metapkg not available!!!"
exit 1
fi
......
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