Am 08.02.2012 22:28, schrieb Michael Biebl:
Could you give a short example how postinst would look like for the case
that package foo is split int foo in version 1.0-1

Making the example a bit more verbose:

before the split:
binary package foo:
 /bin/foo
 /bin/bar
 /etc/foo.conf
 /etc/bar.conf
(both marked as conffiles)

after the split (done in version 1.0-1):
binary package foo:
 /bin/foo
 /etc/foo.conf
binary package bar:
 /bin/bar
 /etc/bar.conf


Package foo in version 1.0-1 does not have a dependency on bar, so bar is not guaranteed to be installed. There is also the case, where bar has been split off upstream into a separate src package, but I assume this can be handled equally.

Now I'm interested how the maintainer scripts have to look like, so we don't get any obsolete conffiles in foo.

Cheers,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f32eae9.8040...@debian.org

Reply via email to