Commit 9de849d7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

check_reqs.sh: add detailed output for a file from args

parent 36c6ca58
......@@ -3,6 +3,11 @@
LIST="bin/epm-* bin/distr_info bin/serv-* bin/tools* bin/yum play.d/*.sh prescription.d/*.sh repack.d/*.sh"
if [ "$1" = "--detail" ] ; then
if [ -n "$2" ] ; then
LIST="$2"
bash --rpm-requires $LIST | sort -u | grep "executable"
exit
fi
for i in $LIST ; do
echo
echo "==== $i:"
......
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