Re: Command in Macintosh for mapping package name and package id
It's not even clear what is meant by "package name" -- is this the name of the package _file_ the user double-clicked on? This may have been renamed since it was built by the developer/manufacturer. And the file itself is often deleted after installation, so I'm not sure what having that name might buy you. As far as I am concerned, the packageid _is_ the name of the package. What is the problem you are trying to solve? -Greg On Feb 2, 2012, at 9:59 AM, Stephane Sudre wrote:
On Thu, Feb 2, 2012 at 12:35 PM, Nandini Vijayashankar <vnandini@novell.com> wrote:
Hi,
Please let me know is there any command provided by Macintosh to give package name based on package id and vice versa. If i execute pkgutil --pkgs command, I get list of package ids.I want to get the name of package for this id. Even if i have a flat package in my directory, I want to know the package id that will be listed for this package, if i use pkgutil command.
Is there a single command for mapping package name and package id or vice versa.
Thanks
I don't think there is. The point of having an identifier is to be able to use a different name for the package. It's the primary key.
the -pkg-info option do not provide the name of the package. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/greg.neagle%40disneyan...
This email sent to greg.neagle@disneyanimation.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Greg Neagle