[33591] branches/release_1_6/base/portmgr/dmg/postflight
Daniel J. Luke
dluke at geeklair.net
Thu Jan 31 08:53:29 PST 2008
On Jan 31, 2008, at 11:25 AM, Ryan Schmidt wrote:
> So we should set THE_UTIL to "nicl" on 10.4 and earlier, or "dscl"
> on 10.5 and up, and then use:
>
> $THE_UTIL . -read /users/$USER shell | sed 's/^.*: //'
I don't see why you need to use nicl anywhere (if they both produce
the same output as you say).
As an added bonus, dscl will work on 10.4 even if the user's
information isn't stored in netinfo (whereas nicl won't).
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20080131/5369158f/PGP.bin
More information about the macports-dev
mailing list