mirror of
https://github.com/6dylan6/jdpro.git
synced 2025-07-15 17:12:54 +08:00
1
This commit is contained in:
@ -25,7 +25,7 @@ else
|
|||||||
fi
|
fi
|
||||||
grep '6dylan6_20240905' /ql/data/config/task_before.sh >/dev/null 2>&1 || grep '6dylan6_20240905' /ql/config/task_before.sh > /dev/null 2>&1
|
grep '6dylan6_20240905' /ql/data/config/task_before.sh >/dev/null 2>&1 || grep '6dylan6_20240905' /ql/config/task_before.sh > /dev/null 2>&1
|
||||||
if [[ $? != 0 ]];then
|
if [[ $? != 0 ]];then
|
||||||
cp /ql/repo/${repo}/docker/task_before.sh /ql/config/ >/dev/null 2>&1 || cp /ql/data/repo/${repo}/docker/task_before.sh /ql/data/config/ > /dev/null 2>&1
|
#cp /ql/repo/${repo}/docker/task_before.sh /ql/config/ >/dev/null 2>&1 || cp /ql/data/repo/${repo}/docker/task_before.sh /ql/data/config/ > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
[[ $QL_DIR == /ql ]] && dir_root=$QL_DIR
|
[[ $QL_DIR == /ql ]] && dir_root=$QL_DIR
|
||||||
[[ -d $dir_root/data ]] && dir_data=$dir_root/data
|
[[ -d $dir_root/data ]] && dir_data=$dir_root/data
|
||||||
|
Reference in New Issue
Block a user