This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Texlive Package Problem

On Feb 17 15:02, Ken Brown wrote:
> On 2/17/2015 2:20 PM, Ken Brown wrote:
> >On 2/17/2015 2:02 PM, Achim Gratz wrote:
> >>Ken Brown writes:
> >>>There's no problem here.  /var/lib/texmf/postinstall is used for the
> >>>new streamlined TeX Live postinstall process.  The files in it are
> >>>markers indicating that something needs to be done, and they are
> >>>renamed with ".done" appended when it's done.  The same thing is done
> >>>with normal postinstall files in /etc/postinstall, but I guess
> >>>cygcheck knows about them.
> >>
> >>You could create the marker files in the normal postinstall phase via
> >>script and remove them when you're done.  That way they wouldn't be
> >>packaged and cygcheck would not complain if they're missing.  This is
> >>however a lot less elegant unless cygport could be enhanced to provide
> >>the boilerplate wrappers for that.
> >>
> >>>I don't know if there's something I should do to avoid this problem or
> >>>if cygcheck just needs to be tweaked.
> >>
> >>That would be the other option, but I don't know how hard that would be.
> >>If it's already matching on "/etc/postinstall" to do that deed then it
> >>might be a small change to simply just check for
> >>".*/postinstall/<script>.done"
> >
> >It is already matching on /etc/postinstall; see
> >winsup/utils/  Corinna, what do you
> >think?
> How's this?
> Index:
> ===================================================================
> RCS file: /cvs/src/src/winsup/utils/,v
> retrieving revision 1.28
> diff -u -p -r1.28
> ---       16 Sep 2013 17:01:58 -0000      1.28
> +++       17 Feb 2015 20:00:40 -0000
> @@ -396,7 +396,7 @@ check_package_files (int verbose, char *
>           if (!directory_exists (verbose, filename, package))
>             result = false;
>         }
> -      else if (!strncmp (filename, "etc/postinstall/", 16))
> +      else if (strstr (filename, "/postinstall/"))
>         {
>           if (!file_exists (verbose, filename, ".done", package))
>             result = false;

Fine with me.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgp2JXJRGbSai.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]