Please update to:

```bash
if [ "x$(which eix)" != "x" ]; then
```