MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 18 Jul 2012 07:24:27 +0200
branchfirefox14
changeset 498 7e0bc5671298
parent 279 eb9e33036fb4
permissions -rw-r--r--
Gnome3 showed Firefox-bin instead of Firefox in the tasklist; as firefox and firefox-bin are really the same binary just the the first one to execute

#!/bin/sh
# Finds requirements provided outside of the current file set

filelist=$( sed "s/[]['\"*?{}]/\\\\\&/g" )
provides=$( echo "$filelist" | /usr/lib/rpm/find-provides )
echo "$filelist" \
    | /usr/lib/rpm/find-requires \
    | grep -F -v "$provides" \
    | sort -u