Update install_reader.sh
Browse files- install_reader.sh +1 -7
install_reader.sh
CHANGED
|
@@ -33,13 +33,7 @@ unzip "$zip_file"
|
|
| 33 |
#+x
|
| 34 |
find . -type f -exec chmod +x {} +
|
| 35 |
|
| 36 |
-
|
| 37 |
-
dir_name=$(unzip -Z -1 "$zip_file" | head -n1 | cut -d '/' -f1)
|
| 38 |
-
if [ -n "$dir_name" ]; then
|
| 39 |
-
echo "进入解压目录: $dir_name"
|
| 40 |
-
cd "$dir_name"
|
| 41 |
-
fi
|
| 42 |
-
|
| 43 |
# 执行启动脚本
|
| 44 |
if [ -f "./startup.sh" ]; then
|
| 45 |
echo "正在启动服务..."
|
|
|
|
| 33 |
#+x
|
| 34 |
find . -type f -exec chmod +x {} +
|
| 35 |
|
| 36 |
+
cd bin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
# 执行启动脚本
|
| 38 |
if [ -f "./startup.sh" ]; then
|
| 39 |
echo "正在启动服务..."
|