We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6897f7 commit b688adeCopy full SHA for b688ade
installer.sh
@@ -1,8 +1,7 @@
1
#!/bin/zsh
2
3
function check_command() {
4
- command -v "$1" >/dev/null 2>&1 && {
5
- } || {
+ command -v "$1" >/dev/null 2>&1 || {
6
echo "detect $1 is not installed."
7
echo "$2"
8
return 2
0 commit comments