
5 Nov
2020
5 Nov
'20
10:15 a.m.
+ if [ -x "$(command -v apk)" ] + then
=> 'if ...; then' 是不是会好看些?
+ apk add install -y curl + elif [ -x "$(command -v yum)" ] + then + yum install -y curl + elif [ -x "$(command -v apt-get)" ] + then + apt-get install -y curl + fi +else + echo "curl has install." +fi