> Today, that's what we're after. Other days, we're after 

... so?



Command-Not-Found is a python package:
http://bazaar.launchpad.net/~zkrynicki/command-not-found/trunk/files/head:/CommandNotFound/

It can pull down a new list of files (scan data) in case you want it to be a 
separate step within sync/selfupdate:
http://bazaar.launchpad.net/~zkrynicki/command-not-found/trunk/view/head:/update-from-web.sh

The scan data looks to simply have a 4-tuple of data: architecture, component, 
package, binaries. We really only need the last two but could make use of 
architecture as well.

As Scott pointed out, we simply need to dump a list of programs into this scan 
data and we're pretty much set. Add in a clause to check that command-not-found 
is installed, and then bash can automatically scan the file list for packages 
that provide the missing binary.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to