You need to sign in or sign up before continuing.
check_reqs.sh 488 Bytes
#!/bin/sh

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:"
        /usr/lib/rpm/shell.req $i
    done
    exit 0
fi

/usr/lib/rpm/shell.req $LIST | sort -u | tee ./check_eepm.log
git diff ./check_eepm.log