This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Pending packages status (10 Mar 2003)
Volker Quetschke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Igor,
>
>> Hope the following chunk helps:
>>
>> #!/bin/sh
>> [ ! -e "/etc/gracerc" ] && cp -a /etc/gracerc.default /etc/gracerc
>> [ ! -e "/etc/gracerc.user" ] && cp -a /etc/gracerc.user.default
>> /etc/gracerc.user
>>
>> And include /etc/gracerc.default and /etc/gracerc.user.default in the
>> package (those can get overwritten).
>
> too late ;-) the version which got uploaded half an hour ago already
> contains a similar postinstall script.
Actually, maybe the postinstall *should* use -e, not -f - just in case
someone wants to do some symlink trickery.
Max.