🔨cp task_before.sh
This commit is contained in:
parent
2eda872f0e
commit
85be48ce85
@ -119,6 +119,7 @@ if [ ! -a "$task_before_shell_path" ] ; then
|
|||||||
fi
|
fi
|
||||||
if [ "${Rbefore}" = 'y' -o "${Rall}" = 1 ]; then
|
if [ "${Rbefore}" = 'y' -o "${Rall}" = 1 ]; then
|
||||||
curl -s --connect-timeout 3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/Helpcode2.8/task_before.sh > $task_before_shell_path
|
curl -s --connect-timeout 3 https://raw.githubusercontent.com/Oreomeow/VIP/main/Scripts/sh/Helpcode2.8/task_before.sh > $task_before_shell_path
|
||||||
|
cp $task_before_shell_path $dir_shell/task_before.sh
|
||||||
# 判断是否下载成功
|
# 判断是否下载成功
|
||||||
task_before_size=$(ls -l $task_before_shell_path | awk '{print $5}')
|
task_before_size=$(ls -l $task_before_shell_path | awk '{print $5}')
|
||||||
if (( $(echo "${task_before_size} < 100" | bc -l) )); then
|
if (( $(echo "${task_before_size} < 100" | bc -l) )); then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user