Hi Tom,

i have checked the OS script in the same folder as the Distro and funny enough, it still has the same issue as the Distro file

its looking at the wrong file in the wrong folder!

elif [ -f /etc/debian_version ] ; then
    if [ -f /etc/mailcleaner/etc/mailcleaner/version.def ] ; then
      DIST="MailCleaner"
      REV=`cat /etc/mailcleaner/etc/mailcleaner/version.def`
    else
      DIST="Debian `cat /etc/debian_version`"
      REV=""
    fi

it should be  /usr/mailcleaner/etc/mailcleaner/version.def

doh!

Simon

On 15 Jan 2015, at 2:01 pm, Tom Laermans <tom.laermans@powersource.cx> wrote:

Simon,

The "distro" script has been deprecated for a while as far as I know - try using the "os" script instead.

Tom

On 01/15/2015 02:52 PM, Simon Smith wrote:
Hi All,

just an update on a BUG I found

I use the 2014 Community edition of Mailcleaner - http://www.mailcleaner.org/

but the Disto script doesn’t detect it at all

the script seems to be looking for the file - /etc/mailcleaner/etc/mailcleaner/version.def

it should be looking for /usr/mailcleaner/etc/mailcleaner/version.def

please can you update the SVN distro script :)

regards

Simon



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium