On 5/31/05, Raj Mathur <[EMAIL PROTECTED]> wrote:
> >>>>> "Thaths" == thaths <[EMAIL PROTECTED]> writes:
> Thaths> It can be achieved without the pre-depends. The postinst
> Thaths> script of samba will have a conditional block that checks
> Thaths> to see if cups is installed and do the needful only if
> Thaths> cups is present.
> Unfortunately this will only work if CUPS is already installed when
> you install Samba. So if the order of installation changes (Samba
> before CUPS), you would need to reconfigure Samba after installing
> CUPS.
Maybe the solution is to have a seperate package containing only the
samba for cups backend. Something like cups-backend-samba. This
package could (pre)depend on both cups and samba being installed. And
cups and samba will not be depedant on each other. Actually, I like
this approach. If I want postfix and mysql insalled on the same
machine, it does not automatically imply that my mail users are in
myself. That is why Debian provides a postfix-mysql package seperately
that provides the glue.
> Of course, you could have both CUPS and Samba mutually checking for
> each others' existence and installing the requisite drivers, but that
> would be even more overkill!
And almost guaranteeded not to happen in the Debian distribution
considering how packages are maintained by a distributed community.
Which is also, IMO, one of the reasons why trigger scripts are not in
Debian. IIRC, the Debian Package Maintaners Policy Manual specifically
warn against package X meddling around with the configuration/files of
package Y.
Thaths
--
"Good things don't end in -eum; they end in -mania or -teria"
-- Homer J. Simpson
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help