From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4698 invoked by alias); 8 Dec 2002 14:41:08 -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 4691 invoked from network); 8 Dec 2002 14:41:07 -0000 Received: from unknown (HELO mta07-svc.ntlworld.com) (62.253.162.47) by sources.redhat.com with SMTP; 8 Dec 2002 14:41:07 -0000 Received: from loki ([213.104.70.126]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20021208144107.LAWI9037.mta07-svc.ntlworld.com@loki> for ; Sun, 8 Dec 2002 14:41:07 +0000 From: "John Morrison" To: Subject: RE: defaults Date: Sun, 08 Dec 2002 06:50:00 -0000 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 In-Reply-To: <20021202155313.GE19575@redhat.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2002-12/txt/msg00457.txt.bz2 > From: Christopher Faylor > On Mon, Dec 02, 2002 at 12:56:03PM -0000, Morrison, John wrote: > > You'd probably want something like: setup.hint: sdesc: "Conditionally move default files to proper location" category: _PostInstallLast requires: ash findutils fileutils sed sh-utils 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. I think there are lots of things that don't work when cygwin is not installed via setup. I can't think of any other way... > The script to move the files would be the only thing in the package and > it would be a post-install script. Done :) Please find for you perusal and review... (long links, will wrap!) http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/update-defaults/upda te-defaults-1.0-1.tar.bz2 http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/update-defaults/defa ults.html (this should be added to the 'how to create a package' instructions, or something like?) http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/update-defaults/setu p.hint http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/update-defaults/md5s um Also, re-done base-files using this mechanism... http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-file s-1.2-1.tar.bz2 http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hin t http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum *Please* test this before including in the distro! J. -- 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/