Date: Wed, 03 Oct 2001 12:31:51 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Julian Elischer <julian@elischer.org> Cc: hackers@freebsd.org Subject: Re: pkg_create help needed. Message-ID: <3BBB67A7.BD92F6@mindspring.com> References: <Pine.BSF.4.21.0110022014490.92100-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > > I need to take a directory of 'stuff' > which includes a script install.sh > and make it into a package.. > I have had some success but it's not quite right.. > > What I'd like to make it do is: > unpack the 'stuff' into a temporary directory somewhere. > run the install script > delete the install directory > > The trouble is that I can't work out how to get the files > unpacked there and have the install script get them from there.. > > I can get it to unpack them into the final locations, and I can get the > install script to run and find them there, but I need the install script > to modify stuff and I'd rather have it all done in the temp > directory if possible, and then istalled into the final > location.. > also I have can not make the @srcdir option work in the packing list.. > does it work? > (-s seems to work) Use a preinstall script for the modifications. Yes, this means you will need two scripts. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BBB67A7.BD92F6>