SUMMARY: pkgadd pre or post install scripts.

From: McCaffity, Ray (Contractor) <McCaffityR_at_epg.lewis.army.mil>
Date: Wed Mar 13 2002 - 12:45:45 EST
Thanks to James Zhao, Ed Rolinson, and Andrew Caines
The answer is to define the type as "preinstall" or "postinstall" in your
proto file.
http://docs.sun.com/ab2/coll.45.4/PACKINSTALL/@Ab2TocView?

This was also a very helpful link from Ed.

-----Original Message-----
From: McCaffity, Ray (Contractor) 
Sent: Wednesday, March 13, 2002 9:01 AM
To: 'sunmanagers@sunmanagers.org'
Subject: pkgadd pre or post install scripts.


After some playing around, I've figured out how to make Sun packages,
and the pkgadd seems to work pretty well.  I've noticed a lot of packages
do something called a post-install script, or sometimes evens a pre-install
script.
These appear to be simple shell scripts.  My question is, how does your
package
tell pkgadd when and how to run these scripts?

Ray
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Mar 13 13:11:36 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:36 EST