This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: enscript-1.6.3-2 bugfix release
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- Cc: cygwin-apps at cygwin dot com
- Date: Tue, 16 Apr 2002 15:21:03 -0400
- Subject: Re: enscript-1.6.3-2 bugfix release
- References: <41386872523.20020416210057@familiehaase.de>
Gerrit --
configuration files should be handled in a nondestructive manner.
Rather than including /etc/enscript.cfg in the tarball, instead modify
your postinstall script to do something like:
if [ -f /etc/enscript.cfg ] ; then
OUTFILE="/etc/enscript.cfg.new"
else
OUTFILE="/etc/enscript.cfg"
fi
cat <<EOF > $OUTFILE
...text of your enscript file
EOF
--Chuck
Gerrit P. Haase wrote:
> Hallo,
>
> I found some bugs in the first package, the postinstallscript
> was wrong and the /etc/enscript.cfg was missing.
> I fixed also some other problems with DESTDIR usage in the
> Makefile templates which were the cause of the .cfg bug:
>
> Corinna, woul;d you please fetch it from my server
> (only temporary up, now running Apache on Cygwin as service;):
>
> http://62.138.63.18/cywgin/enscript/
>
>
> Gerrit
>