MozillaFirefox/find-external-requires.sh
author Lubos Lunak <l.lunak@centrum.cz>
Wed, 26 Apr 2017 14:34:14 +0200
branchfirefox52
changeset 972 d9b28dbb04f2
parent 279 eb9e33036fb4
permissions -rw-r--r--
fixes a crash when KFileDialog is opened in Firefox and then cancelled (probably boo#1015998)

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