No, your RPMDB covers what's installed using the package manager so the reverse, as in 'rpm -qf /path/to/something 2>&1>/dev/null||echo NO' should work. While that may work fine for binaries in $PATH dirs, be careful with things in other dirs as they may be created during for example %post install scripts.
Last edited by unSpawn; 10-08-2008 at 01:59 AM.
|