This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]