From dd59f542f4f8b344f338f6b019915ea2cb57bf14 Mon Sep 17 00:00:00 2001 From: WXbet Date: Sat, 12 Sep 2020 23:06:24 +0200 Subject: [PATCH] s3.TUP restore changes from c8d2bb84901220b44d53b445c777bc6fef83f3a4 --- support/functions/_plugin_update_toolchain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/functions/_plugin_update_toolchain b/support/functions/_plugin_update_toolchain index 111f6d7..c0d2dd5 100644 --- a/support/functions/_plugin_update_toolchain +++ b/support/functions/_plugin_update_toolchain @@ -1230,7 +1230,7 @@ _create_config(){ if [ ! -f "$configtemplate" ];then #check existing config template file echo -e "${r_l}\nERROR -> ${txt_s3tup_msg_create_config_template_not_found}${re_}" && _paktc_timer 10; return 1; - elif [ ! "$(which jq)" ];then #check existing jq + elif [ ! "$(type -pf jq)" ];then #check existing jq echo -e "${r_l}\nCHECK -> ${txt_s3tup_msg_create_config_jq_not_found}\n${y_l}apt install jq\n${re_}" && _paktc_timer 10; return 1; else #copy the config template file