Did't work with Debian and Ubeuntu due to dash