Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RayWangQvQ committed Feb 23, 2023
1 parent e832337 commit e50bdb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions qinglong/DefaultTasks/bili_task_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@ else
{
echo "------尝试使用apk安装------"
apk add dotnet6-sdk
dotnet --version
echo "安装成功"
dotnet --version && echo "安装成功"
} || {
echo "------再尝试使用官方脚本安装------"
curl -sSL $rayInstallShell | bash /dev/stdin
. /root/.bashrc
dotnet --version
echo "安装成功"
dotnet --version && echo "安装成功"
} || {
echo "------再尝试使用二进制包安装------"
curl -sSL $rayInstallShell | bash /dev/stdin --no-official
. /root/.bashrc
dotnet --version
echo "安装成功"
dotnet --version && echo "安装成功"
} || {
echo "安装失败,没办法了,毁灭吧,自己解决吧:https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-alpine"
exit 1
Expand Down
9 changes: 3 additions & 6 deletions qinglong/DefaultTasks/dev/bili_dev_task_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,17 @@ else
{
echo "------尝试使用apk安装------"
apk add dotnet6-sdk
dotnet --version
echo "安装成功"
dotnet --version && echo "安装成功"
} || {
echo "------再尝试使用官方脚本安装------"
curl -sSL $rayInstallShell | bash /dev/stdin
. /root/.bashrc
dotnet --version
echo "安装成功"
dotnet --version && echo "安装成功"
} || {
echo "------再尝试使用二进制包安装------"
curl -sSL $rayInstallShell | bash /dev/stdin --no-official
. /root/.bashrc
dotnet --version
echo "安装成功"
dotnet --version && echo "安装成功"
} || {
echo "安装失败,没办法了,毁灭吧,自己解决吧:https://learn.microsoft.com/zh-cn/dotnet/core/install/linux-alpine"
exit 1
Expand Down

0 comments on commit e50bdb2

Please sign in to comment.