Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen \(garbage mail\)" To: Subject: SUGGESTION wrt preremove / postinstall / preinstall (RE: [FAQ] Packages reported as "Incomplete" by "cygcheck -c") Date: Mon, 22 Sep 2003 00:26:11 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 > From: Igor Pechtchanski > Sent: Monday, September 15, 2003 7:18 PM > Q: Why are "apache" and "mod_*" packages reported as "Incomplete"? > A: The "apache" and "mod_*" packages use a postinstall script that renames > an originally installed directory. Therefore, that directory is not > found by "cygcheck -c". Suggestions on how to deal with this are > welcome (patches doubly so ;-)). Suggestion: post/preinstall scripts that MOVE or RENAME files must "retain the filename" i.e. $ mv prev-name new-name $ ln -s prev-name new-name preremove script: $ rm prev-name $ rm new-name Would this work? Could at least be a "interrim solution", don't you think? Is it possible to list (add) a filename in the archive in some way? (HOW?) /Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E -- UTC+01, DST -> UTC+02 -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/