diff options
Diffstat (limited to 'find-provides.in')
-rwxr-xr-x | find-provides.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/find-provides.in b/find-provides.in index 3adf346..0ef9b15 100755 --- a/find-provides.in +++ b/find-provides.in @@ -143,4 +143,18 @@ fi echo "$solist" | tr '[:blank:]' \\n | @RPMVENDORDIR@/gstreamer.prov | sort -u \ && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMVENDORDIR@/gstreamer.prov failed' >&2 && exit 1 +# +# --- osgi provides +if [ -x @RPMLIBDIR@/osgi.prov ];then + echo $filelist | tr '[:blank:]' '\n' | @RPMLIBDIR@/osgi.prov \ + && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMLIBDIR@/osgi.prov failed' >&2 && exit 1 +fi + +# +# --- maven provides +if [ -x @RPMLIBDIR@/maven.prov ];then + echo $filelist | tr '[:blank:]' '\n' | @RPMLIBDIR@/maven.prov \ + && test ${PIPESTATUS[2]} -ne 0 && echo 'error: @RPMLIBDIR@/maven.prov failed' >&2 && exit 1 +fi + exit 0 |