delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/16/15:21:55

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3CBC799F.3050500@ece.gatech.edu>
Date: Tue, 16 Apr 2002 15:21:03 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
CC: cygwin-apps AT cygwin DOT com
Subject: Re: enscript-1.6.3-2 bugfix release
References: <41386872523 DOT 20020416210057 AT familiehaase DOT 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
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019