diff options
author | Omar Rizwan <omar.rizwan@gmail.com> | 2020-10-30 00:39:21 -0700 |
---|---|---|
committer | Omar Rizwan <omar.rizwan@gmail.com> | 2020-10-30 00:39:21 -0700 |
commit | 52484f6e0ab30e53986e863e31ac60703e52800d (patch) | |
tree | 2c8f81f3839dc1cbab4a26ec7a55a0ca88e5634b /install.sh | |
parent | f378df12ae5a443eb5e741545d9717e58b0c17eb (diff) |
more improvement to README.md and install.sh.
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/bash -eux if [[ ! ( ( "$1" == "firefox" && "$#" -eq 1 ) || - ( "$1" == "chrome" && "$#" -eq 2 && ${#2} -eq 32) || - ( "$1" == "chromium" && "$#" -eq 2 && ${#2} -eq 32) ) ]]; then + ( "$1" == "chrome" && "$#" -eq 2 && ${#2} -eq 32 ) || + ( "$1" == "chromium" && "$#" -eq 2 && ${#2} -eq 32 ) ) ]]; then echo "Usage: $0 <chrome EXTENSION_ID | chromium EXTENSION_ID | firefox>" exit 2 fi |