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: "John Morrison" To: "Cygwin" Subject: FAO: cfg: defaults Date: Sat, 4 Jan 2003 16:50:41 -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 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal > 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-.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 Christopher: is this OK? 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/