On Tue 06 May 2008 at 02:53PM, T.J. Yang wrote:
>    I didn't check the archive of this email list, hope this is not a FAQ.
> 
>    I read it somewhere in the IPS docs, the post/pre-install scripts are
>    discouraged.
>    So what is the alternative way to achieve same goal in IPS ?
> 
>    In my current SVR4 hobbit client packages I have scripts doing followings
> 
>     hobbit client preinstall shell script
>    1. will detect if there is a hobbitc account created already.
>    2. if not create hobbitc local account in /etc/passwd, hobbitc group in
>    /etc/group.

There are user and group actions provided which will do this for you,
there's no need to script this with IPS.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to