| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a720762 commit db653b9
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,10 @@ | |||
| 2 | 2 | ||
| 3 | 3 | # Check for install/updates at https://github.com/insidersec/insider | |
| 4 | 4 | ||
| 5 | - which insider > /dev/null || (echo 'Insider not found. Visit https://github.com/insidersec/insider and follow installation instructions' && exit 1) | ||
| 5 | + if ! command -v insider &> /dev/null; then | ||
| 6 | + echo "Insider not found. Visit https://github.com/insidersec/insider and follow installation instructions" | ||
| 7 | + exit 1 | ||
| 8 | + fi | ||
| 6 | 9 | ||
| 7 | 10 | benchmark_version=$(scripts/getBenchmarkVersion.sh) | |
| 8 | 11 | insider_version=$(insider -version | grep Version | cut -d' ' -f2) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments