Getting error on install "Can not find 'AVAST4DIR"

Hello

I tried to install avast beta2c today but it wouldn’t work. When i run the install script, i get:

Can not find ‘AVAST4DIR’ environment variable.
Please, restart your SHELL!

I restarted the console but still get the same error. Any way around this?

Using Debian Sid.

Thanks.

Installation files are designed for RedHat like distros.
Set the AVAST4DIR environment variable to ‘/var/lib/avast4’ (path to the avast! engine library) and it will be OK.