public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: defaults
Date: Mon, 02 Dec 2002 07:52:00 -0000	[thread overview]
Message-ID: <20021202155313.GE19575@redhat.com> (raw)
In-Reply-To: <CCD084B0E779D411A70300508B66222605A32BDA@exchukahis02.experian.co.uk>

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/

  reply	other threads:[~2002-12-02 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02  4:56 defaults Morrison, John
2002-12-02  7:52 ` Christopher Faylor [this message]
2002-12-04 13:53   ` defaults John Morrison
2002-12-04 14:22     ` defaults Christopher Faylor
2002-12-08  6:50   ` defaults John Morrison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021202155313.GE19575@redhat.com \
    --to=cgf-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).