mao123qw commited on
Commit
5d8f539
·
verified ·
1 Parent(s): 3848729

Update install_reader.sh

Browse files
Files changed (1) hide show
  1. install_reader.sh +5 -3
install_reader.sh CHANGED
@@ -26,14 +26,16 @@ if ! curl -LO "$download_url"; then
26
  fi
27
 
28
  # 解压文件
29
- zip_file="reader-server-${version}.zip"
30
  echo "正在解压文件..."
31
  unzip "$zip_file"
32
 
33
  #+x
34
- find . -type f -exec chmod +x {} +
35
 
36
- cd bin
 
 
 
37
  # 执行启动脚本
38
  if [ -f "./startup.sh" ]; then
39
  echo "正在启动服务..."
 
26
  fi
27
 
28
  # 解压文件
29
+ zip_file="reader-server-${version}.jar.zip"
30
  echo "正在解压文件..."
31
  unzip "$zip_file"
32
 
33
  #+x
 
34
 
35
+ cd target
36
+ chmod +x reader-pro-${version}.jar
37
+
38
+ cd ../bin
39
  # 执行启动脚本
40
  if [ -f "./startup.sh" ]; then
41
  echo "正在启动服务..."