MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Sat, 25 Oct 2014 10:49:33 +0200
branchfirefox31
changeset 794 b6bd5c64dccd
parent 279 eb9e33036fb4
permissions -rw-r--r--
use /usr/share/myspell directly and remove add-plugins.sh

#!/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