Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3D0E114A.9040004@ece.gatech.edu> Date: Mon, 17 Jun 2002 12:41:46 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: "Gerrit P. Haase" CC: cygwin-apps AT cygwin DOT com Subject: Re: Apache -5 install clobbers /etc/apache files References: <174868800669 DOT 20020617104226 AT familiehaase DOT de> <51871816165 DOT 20020617113241 AT familiehaase DOT de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Gerrit P. Haase wrote: >>All my files in /etc/apache (besides httpd.conf~) were clobbered >>when installing 1.13.24-5 over 1.13.24-1. How can this happen??? >> > > To be exact, the -1 version removed it during uninstall. > Well, shit happens.... No, this is a packaging *error*. Packages (like apache) should NOT install configuration files, for precisely this reason. They should install "default" files, and then cp them IFF the "real" file doesn't exist. e.g. apache-VER-REL.tar.bz2 contains /etc/httpd.conf.default /etc/postinstall/apache.sh apache.sh: -------- #!/bin/sh if [ ! -f /etc/httpd.conf ] ; then cp /etc/httpd.conf.default /etc/httpd.conf fi -------- --Chuck