MozillaFirefox/find-external-requires.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Thu, 22 Mar 2012 14:37:12 +0100
changeset 414 88a71e903038
parent 279 eb9e33036fb4
permissions -rw-r--r--
update to 12.0b2 added mozilla-libnotify.patch to fix xul fallback for system-alert-service

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