mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
dev
This commit is contained in:
parent
1f4c750de0
commit
37a16510c6
|
@ -274,7 +274,8 @@ update_own_raw () {
|
|||
if [[ ${#RawUrl[*]} -gt 0 ]]; then
|
||||
echo -e "--------------------------------------------------------------\n"
|
||||
make_dir $dir_raw
|
||||
fi
|
||||
diff_and_copy "$dir_sample/sendNotify.js" "$dir_raw/sendNotify.js"
|
||||
diff_and_copy "$dir_sample/jdCookie.js" "$dir_raw/jdCookie.js"
|
||||
for ((i=0; i<${#RawUrl[*]}; i++)); do
|
||||
raw_file_name[$i]=$(echo ${RawUrl[i]} | awk -F "/" '{print $NF}')
|
||||
echo -e "开始下载:${RawUrl[i]} \n\n保存路径:$dir_raw/${raw_file_name[$i]}\n"
|
||||
|
@ -287,8 +288,8 @@ update_own_raw () {
|
|||
[ -f "$dir_raw/${raw_file_name[$i]}.new" ] && rm -f "$dir_raw/${raw_file_name[$i]}.new"
|
||||
fi
|
||||
done
|
||||
diff_and_copy "$dir_sample/sendNotify.js" "$dir_raw/sendNotify.js"
|
||||
diff_and_copy "$dir_sample/jdCookie.js" "$dir_raw/jdCookie.js"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
## 调用用户自定义的extra.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user