Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> If ghc-doc is removed before libghc-xhtml-doc, /usr/lib/ghc-doc/haddock/
> is left over as an empty directory. Because ghc-doc cannot remove it, as
> the .haddock file from libghc-xhtml-doc resides in it
Hi,
Am Freitag, den 17.06.2011, 15:58 +0100 schrieb Ian Jackson:
> Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> > BTW, this line (with "-t" after mv") ought to do the same as
> > mv $path/* /usr/lib/ghc-doc/haddock/
> > w
Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> BTW, this line (with "-t" after mv") ought to do the same as
> mv $path/* /usr/lib/ghc-doc/haddock/
> without failing when $path is empty. Is there a nicer way than find and
> xargs?
Hi again,
Am Freitag, den 17.06.2011, 16:38 +0200 schrieb Joachim Breitner:
> > Are you sure this is the version you tested ? Your tests don't seem
> > to have been very comprehensive ...
> >
> > I see this:
> >find $path -maxdepth 1 -mindepth 1 -print0 | xargs -0 -r mv
> > /usr/lib/ghc-doc
Hi,
Am Freitag, den 17.06.2011, 12:31 +0100 schrieb Ian Jackson:
> Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> > Am Mittwoch, den 15.06.2011, 13:35 +0100 schrieb Ian Jackson:
> > > > I guess I?ll give the postinst-symlink-approach a shot.
Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> Am Mittwoch, den 15.06.2011, 13:35 +0100 schrieb Ian Jackson:
> > > I guess I?ll give the postinst-symlink-approach a shot.
> >
> > Do come back when you have more final-looking code and I
Hi Ian,
Am Mittwoch, den 15.06.2011, 13:35 +0100 schrieb Ian Jackson:
> > I guess I?ll give the postinst-symlink-approach a shot.
>
> Do come back when you have more final-looking code and I'll see if I
> can find bugs in it :-).
I implemented it and did some tests. I did not test aborting it ha
Joachim Breitner writes ("Re: Merging three direcories in postinst"):
> I am a bit worried about getting the removal part right, and of course
> there are so many possible failures.
It is somewhat tricky, yes. The best thing to do is to try to write
idempotent scripts that
Hi Ian,
Am Dienstag, den 14.06.2011, 18:31 +0100 schrieb Ian Jackson:
> Joachim Breitner writes ("Merging three direcories in postinst"):
> > Will it still cleanly remove files that were installed by
> > libghc-foo-doc into /usr/lib/ghc-7.0.3/haddock/ when libghc-foo-doc
Joachim Breitner writes ("Merging three direcories in postinst"):
> But before doing so, I?d like to get comments as to what can go wrong.
> Especially, does dpkg mind if I replace something that dpkg thinks is a
> proper directory by a symbolic link?
Thanks for asking.
No,
Hi,
in the Haskell packaging we have made a mistake that we want to
work-around without having to sourcefully upload 230 packages.
Eventually, we will have to do these uploads anyways (with the next
major ghc release), so the work-around will not be in place forever.
Here is the situation:
A has
11 matches
Mail list logo