mao123qw commited on
Commit
e10d3af
·
verified ·
1 Parent(s): 24eab74

Update install_reader.sh

Browse files
Files changed (1) hide show
  1. install_reader.sh +3 -0
install_reader.sh CHANGED
@@ -30,6 +30,9 @@ zip_file="reader-server-${version}.zip"
30
  echo "正在解压文件..."
31
  unzip "$zip_file"
32
 
 
 
 
33
  # 处理解压目录结构
34
  dir_name=$(unzip -Z -1 "$zip_file" | head -n1 | cut -d '/' -f1)
35
  if [ -n "$dir_name" ]; then
 
30
  echo "正在解压文件..."
31
  unzip "$zip_file"
32
 
33
+ #+x
34
+ chmod -R +x
35
+
36
  # 处理解压目录结构
37
  dir_name=$(unzip -Z -1 "$zip_file" | head -n1 | cut -d '/' -f1)
38
  if [ -n "$dir_name" ]; then