|
@@ -310,7 +310,7 @@ print_error() {
|
|
|
|
|
|
|
|
main() {
|
|
main() {
|
|
|
# Iterate of the array of dependencies and check if the user has them installed
|
|
# Iterate of the array of dependencies and check if the user has them installed
|
|
|
- for dependency in jq w3m curl; do
|
|
|
|
|
|
|
+ for dependency in jq $BROWSER curl; do
|
|
|
if ! command -v "$dependency" >/dev/null 2>&1; then
|
|
if ! command -v "$dependency" >/dev/null 2>&1; then
|
|
|
print_error "Could not find '$dependency', is it installed?"
|
|
print_error "Could not find '$dependency', is it installed?"
|
|
|
fi
|
|
fi
|