From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13122 invoked by alias); 2 Dec 2002 15:52:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13105 invoked from network); 2 Dec 2002 15:52:29 -0000 Received: from unknown (HELO redhat.com) (66.30.22.225) by sources.redhat.com with SMTP; 2 Dec 2002 15:52:29 -0000 Received: by redhat.com (Postfix, from userid 201) id 63A041BF7F; Mon, 2 Dec 2002 10:53:13 -0500 (EST) Date: Mon, 02 Dec 2002 07:52:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: defaults Message-ID: <20021202155313.GE19575@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00031.txt.bz2 On Mon, Dec 02, 2002 at 12:56:03PM -0000, Morrison, John wrote: >The first is that this script, although best as a postinstall, >would have be executed _after every install_. > >The other would be to get people to use it ;) > >Well, that's my mental thoughts on paper(?!). Any comments? >would it be worth doing? Here's how _update-info-dir does it: sdesc: "Generate info/dir file automatically" category: _PostInstallLast requires: texinfo ash autodep: usr/info/.* incver_ifdep: yes You'd probably want something like: sdesc: "Conditionally move default files to proper location" category: _PostInstallLast requires: ash autodep: etc/defaults/.* incver_ifdep: yes This would run automatically whenever packages are downloaded and installed in one shot. It wouldn't run if someone downloads everything and then installs piecemeal, though. The script to move the files would be the only thing in the package and it would be a post-install script. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/