alpine install-release.sh 依赖检查bug #108

Open
opened 2025-12-26 01:18:41 -05:00 by bonjour-py · 0 comments
bonjour-py commented 2025-12-26 01:18:41 -05:00 (Migrated from github.com)

XTLS/Xray-install@08485e44b3/alpinelinux/install-release.sh (L110-L117)

这里写成 或 关系了
只要有一个命令存在 就 检查通过 不安装依赖

     if [ -n "$(command -v curl)" ] && [ -n "$(command -v unzip)" ]; then 
         return 
     fi 

应该是文档要求用curl下载install-release.sh 导致一直没发现

我是不想手动安装用的wget下载的install-release.sh😅

https://github.com/XTLS/Xray-install/blob/08485e44b3b70b6bda899daffc86c3cbd8e32792/alpinelinux/install-release.sh#L110-L117 这里写成 或 关系了 只要有一个命令存在 就 检查通过 不安装依赖 ``` if [ -n "$(command -v curl)" ] && [ -n "$(command -v unzip)" ]; then return fi ``` 应该是文档要求用curl下载install-release.sh 导致一直没发现 我是不想手动安装用的wget下载的install-release.sh😅
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
XTLS/Xray-install#108
No description provided.