On Mon, Dec 04, 2006 at 09:57:19AM -0800, bpa wrote:
> 
> Check the loadmodules routine in boostrap.pm in Slim folder. It has this
> code

And this little bit above:

>-------if (Slim::Utils::OSDetect::isDebian() || 
>Slim::Utils::OSDetect::isRHELorFC()) {

>------->[EMAIL PROTECTED] = Slim::Utils::OSDetect::dirsFor('lib');

>-------} else {

I'm on Debian, but NOT running the debian package.  That's why it is
breaking.

I need to look more, but seems like it should be using FindBin to
deterimine if running the Debian package.

=head2 isDebian( )

 The Debian package has some specific differences for file locations.
 This routine needs no args, and returns 1 if Debian distro is detected, with
 a clear sign that the .deb package has been installed, 0 if not.

Sure, but that doesn't tell if the *current running program* is the
debian-installed package.

-- 
Bill Moseley
[EMAIL PROTECTED]

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to