RPM Community Forums

Mailing List Message of <rpm-users>

How does bash-provides work?

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Mon 16 Jul 2007 - 21:29:05 CEST
Message-Id: <200707162129.09147.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'm using a patched version of bash to get executables and functions required 
for running a shell script, which works well. However, creating provides 
doesn't seem to be possible that way, and /usr/lib/rpm/executabledeps.sh is 
not really a help:

case $1 in
- -P|--provides)
    cat > /dev/null
    exit 0
    ;;

Is there any way to automatically create a list of exectuable() and function() 
provides?

	Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGm8cBfkUtd7QNU/sRAn0hAJ9DP2qqJYahSwd9pcXHcEckXJYw3gCffRJ5
c/joclHx4RYKNKvG4tObSVs=
=xmGu
-----END PGP SIGNATURE-----
Received on Mon Jul 16 21:29:13 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.