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: enscript-1.6.3-2 bugfix release


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
> 



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