Merge pull request #66 from PhoenixEmik/master

Remove unwanted DOS line endings for specific script
This commit is contained in:
Molly Lau 2023-11-04 01:32:19 +09:00 committed by GitHub
commit c2b193bdef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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