Browse Source

Add awk to list of dependencies

Ryan Delaney 5 năm trước cách đây
mục cha
commit
49576020c9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tmpmail

+ 1 - 1
tmpmail

@@ -233,7 +233,7 @@ view_recent_email(){
 
 
 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
-    dependencies=(jq w3m curl)
+    dependencies=(jq w3m curl awk)
     for dependency in "${dependencies[@]}"; do
     for dependency in "${dependencies[@]}"; do
         type -p "$dependency" &>/dev/null || {
         type -p "$dependency" &>/dev/null || {
         echo "error: Could not find '${dependency}', is it installed?" >&2
         echo "error: Could not find '${dependency}', is it installed?" >&2