Explorar el Código

Changed dependency check from w3m to $BROWSER

Obviously you could figure this out easily. Also I didn't add any comments (this program has great documentation btw!) since i figured you have a vision for it.
Think of this as a friendly reminder.
bleuenvert hace 5 años
padre
commit
4426f811eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tmpmail

+ 1 - 1
tmpmail

@@ -310,7 +310,7 @@ print_error() {
 
 main() {
     # 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
             print_error "Could not find '$dependency', is it installed?"
         fi