Skip to content

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

@bonjour-py

Description

@bonjour-py

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

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

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions