This is the mail archive of the
mailing list for the Cygwin project.
Re: Manual installation of cygport packages
Thank you very much Andrew!
It was very helpful. Thank you for all your help :)
On Thu, Mar 16, 2017 at 3:41 PM, Andrew Schulman
>> >> > Hello all, I'm new to this and I successfully build a package with
>> >> > cygport. My problem is that, I would like to install it in order to
>> >> > test if the package was successfully built. Is there anyway to do
>> >> > that?
>> >> https://cygwin.com/package-server.html
>> > I usually take the simpler approach of just unpacking the package archive
>> > into the root filesystem:
>> > tar -C/ -Jxf $package-$version.tar.xz
>> > This doesn't run pre-remove or post-install scripts, but it puts the files
>> > in place so you can test them.
>> @Andrew: Is there a way to run the scripts manually?
> Sure, you can run them manually. They're unpacked into
> /etc/preremove/$package.sh and /etc/postinstall/$package.sh.
> For the preremove script, I guess you should run it before unpacking the
> archive. You can find it in the package build directory in
> I'm quite lazy and don't bother doing this, but if the preremove or
> postinstall scripts are doing something important, you should do it.
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple