change string comparison

Hi,
When I try to install YADR on Ubuntu 12.10 LTS I get this error:

```sh
sh: 7: [: unexpected operator
```
I think the standard string comparison operator is `=` and not `==`.
This fixes the error for me.