distro script not detect mailcleaner
![](https://secure.gravatar.com/avatar/3e0204163e0dea3d9401901792ec89a6.jpg?s=120&d=mm&r=g)
Hi All,
just an update on a BUG I found
I use the 2014 Community edition of Mailcleaner - http://www.mailcleaner.org/ 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
![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/3e0204163e0dea3d9401901792ec89a6.jpg?s=120&d=mm&r=g)
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/ 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 mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Simon Smith
-
Tom Laermans