aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorOmar Rizwan <omar.rizwan@gmail.com>2020-10-30 00:39:21 -0700
committerOmar Rizwan <omar.rizwan@gmail.com>2020-10-30 00:39:21 -0700
commit52484f6e0ab30e53986e863e31ac60703e52800d (patch)
tree2c8f81f3839dc1cbab4a26ec7a55a0ca88e5634b /install.sh
parentf378df12ae5a443eb5e741545d9717e58b0c17eb (diff)
more improvement to README.md and install.sh.
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index 04d96e4..97235ea 100755
--- a/install.sh
+++ b/install.sh
@@ -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