[csw-maintainers] the future of pkg-get...
Ben Walton
bwalton at opencsw.org
Mon Sep 5 22:20:12 CEST 2011
Excerpts from Dagobert Michelsen's message of Mon Sep 05 16:14:03 -0400 2011:
Hi Dago,
> >> pkg_get_stub could provide a message of the type "2".
> >
> > Wouldn't this be too easy to miss in the output? Or are you
> > saying that the _stub package should deliver a single file with a
> > script capable of dumping this message in addition to pulling in
> > pkgutil?
>
> Yes, pkg_get_stub has a file /opt/csw/bin/pkg-get which does
>
> #!/bin/sh
>
> echo <<EOF
> The use of pkg-get is deprecated. Please use pkgutil(1) instead.
> EOF
>
> exit 1
Well, this would meet my expectations for full deprecation without
leaving the user without any explanation. It's slightly abnormal to
ship a _stub with 'real' content, but I think it only enhances the
experience in this case so I'm ok with it.
Anyone else?
Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
More information about the maintainers
mailing list