diff options
author | Christopher Aillon <caillon@fedoraproject.org> | 2006-10-11 20:54:47 +0000 |
---|---|---|
committer | Christopher Aillon <caillon@fedoraproject.org> | 2006-10-11 20:54:47 +0000 |
commit | 777a1c822ae5c2fc12e6e488ac0ce5efbdb39dd7 (patch) | |
tree | 0a129a6a318423563f852a0feed8ae74d023cce7 /add-gecko-provides.in | |
parent | - Bring the invisible character to parity with GTK+ (diff) | |
download | librewolf-fedora-ff-777a1c822ae5c2fc12e6e488ac0ce5efbdb39dd7.tar.gz librewolf-fedora-ff-777a1c822ae5c2fc12e6e488ac0ce5efbdb39dd7.tar.bz2 librewolf-fedora-ff-777a1c822ae5c2fc12e6e488ac0ce5efbdb39dd7.zip |
- Add virtual provides for gecko applications.
Diffstat (limited to 'add-gecko-provides.in')
-rwxr-xr-x | add-gecko-provides.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/add-gecko-provides.in b/add-gecko-provides.in new file mode 100755 index 0000000..2b47376 --- /dev/null +++ b/add-gecko-provides.in @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Use the internal provides generator" +# +filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` +provides=`echo $filelist | /usr/lib/rpm/find-provides` +echo $provides + +# +# Now output the stuff we want to add +# +core_files=`echo $filelist | grep "libxpcom.so" | wc -l` +devel_files=`echo $filelist | grep "nsISupports" | wc -l` +if [ $devel_files -gt 0 ]; then + echo "gecko-devel = @GECKO_VERSION@" +elif [ $core_files -gt 0 ]; then + echo "gecko-libs = @GECKO_VERSION@" +fi |