From f8fbc5c90af380f0b450bceb9d816ca9049a94a3 Mon Sep 17 00:00:00 2001 From: YiXuan Ding <1328032567@qq.com> Date: Sat, 26 Oct 2024 10:29:07 +0800 Subject: [PATCH] : fix the bug at 107 line. --- tool/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/install.sh b/tool/install.sh index 5f7df73..15e902c 100755 --- a/tool/install.sh +++ b/tool/install.sh @@ -104,7 +104,7 @@ set_install_path() { elif [ -d "$noroot_default_install_path" ] && [ -w "$noroot_default_install_path" ]; then install_dir="$noroot_default_install_path" else - if [ "$lang" = "zh"]; then + if [ "$lang" = "zh" ]; then error "默认下载路径 /usr/local/bin 不可写,请使用 sudo 命令运行脚本;或通过 -d 参数指定其它路径安装" else error "Default download path /usr/local/bin is not writable. Please run the script with sudo; or specify another path using the -d option."