Begin forwarded message:
> From: Jeff Johnson <firstname.lastname@example.org>
> Date: September 20, 2008 11:13:09 AM EDT
> To: email@example.com
> Subject: Adding/removing .arch.rpm from arguments transparently?
> (aside) I was just reminded of this while writing a test script.
> One always needs
> both the rpm file name and the rpm package name as shell envvars.
> rpm installs take package file names as arguments, while most
> of the rest of rpm arguments use package, not package file, names
> as arguments.
> Should I dress up arguments to permit package names as install
> and package file names (stripping .arch.name from argument)
> everywhere else?
> The only complexity I see is detecting (and failing as error) if
> the glob
> on a package name (without .arch.rpm) used as an install argument
> to pin down the
> file to be installed happens to find more than one candidate match.
> There's an ancient rpm RFE from Michael Jennings on exactly this
> What say ye?
> 73 de Jeff
Received on Sat Sep 20 17:34:42 2008