check_reqs.sh 480 Bytes
Newer Older
1
#!/bin/sh
2

3
LIST="bin/epm-* bin/distr_info bin/serv-* bin/tools* play.d/*.sh prescription.d/*.sh repack.d/*.sh"
4

5
if [ "$1" = "--detail" ] ; then
6 7 8 9 10
    if [ -n "$2" ] ; then
        LIST="$2"
        bash --rpm-requires $LIST | sort -u | grep "executable"
        exit
    fi
11
    for i in $LIST  ; do
12 13 14 15 16 17 18
        echo
        echo "==== $i:"
        /usr/lib/rpm/shell.req $i
    done
    exit 0
fi

19
/usr/lib/rpm/shell.req $LIST | sort -u | tee ./check_eepm.log
Vitaly Lipatov's avatar
Vitaly Lipatov committed
20
git diff ./check_eepm.log