From dc861f5abaffc5481c74d1d54951acc5d7192de7 Mon Sep 17 00:00:00 2001 From: Emik Date: Sat, 4 Nov 2023 00:27:11 +0800 Subject: [PATCH] Remove unwanted DOS line endings for specific script --- Linux_reinstall/InstallNET.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 8f12b91..c0243bc 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -1178,7 +1178,7 @@ function checkSys() { [[ -n "$aliyundunProcess" ]] && { timeout 5s wget --no-check-certificate -qO /root/Fuck_Aliyun.sh 'https://git.io/fpN6E' && chmod a+x /root/Fuck_Aliyun.sh if [[ $? -ne 0 ]]; then - wget --no-check-certificate -qO /root/Fuck_Aliyun.sh 'https://gitee.com/mb9e8j2/Fuck_Aliyun/raw/master/Fuck_Aliyun.sh' && chmod a+x /root/Fuck_Aliyun.sh + wget --no-check-certificate -qO /root/Fuck_Aliyun.sh 'https://gitee.com/mb9e8j2/Fuck_Aliyun/raw/master/Fuck_Aliyun.sh' && sed -i 's/\r//g' /root/Fuck_Aliyun.sh && chmod a+x /root/Fuck_Aliyun.sh fi bash /root/Fuck_Aliyun.sh rm -rf /root/Fuck_Aliyun.sh