[fix] Fix Bash syntax

Double brackets are required when using `&&` or `||`.
[dist] Bump `npm-manager` to 1.0.2