This is the mail archive of the cygwin@cygwin.com 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]

SUGGESTION wrt preremove / postinstall / preinstall (RE: [FAQ] Packages reported as "Incomplete" by "cygcheck -c")


> From: Igor Pechtchanski
> Sent: Monday, September 15, 2003 7:18 PM

<SNIP>
> Q: Why are "apache" and "mod_*" packages reported as "Incomplete"?
> A: The "apache" and "mod_*" packages use a postinstall script that renames
>    an originally installed directory.  Therefore, that directory is not
>    found by "cygcheck -c".  Suggestions on how to deal with this are
>    welcome (patches doubly so ;-)).

Suggestion:
  post/preinstall scripts that MOVE or RENAME files must "retain the
filename"
i.e.

	$ mv prev-name new-name
	$ ln -s prev-name new-name

  preremove script:

	$ rm prev-name
	$ rm new-name

Would this work?
Could at least be a "interrim solution", don't you think?

Is it possible to list (add) a filename in the archive in some way? (HOW?)

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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