mirror of
https://github.com/whyour/qinglong.git
synced 2026-03-30 03:15:25 +08:00
fix: exclude dependency files from scheduled tasks when pulling subscriptions
This commit is contained in:
parent
07bf0c705b
commit
cf3fe312b7
|
|
@ -397,6 +397,10 @@ gen_list_repo() {
|
||||||
if [[ $blackword ]]; then
|
if [[ $blackword ]]; then
|
||||||
files=$(echo "$files" | egrep -v "$blackword")
|
files=$(echo "$files" | egrep -v "$blackword")
|
||||||
fi
|
fi
|
||||||
|
# Filter out dependency files from the scripts list
|
||||||
|
if [[ $dependence ]]; then
|
||||||
|
files=$(echo "$files" | egrep -v "$dependence")
|
||||||
|
fi
|
||||||
|
|
||||||
cp -f $file_notify_js "${dir_scripts}/${uniq_path}"
|
cp -f $file_notify_js "${dir_scripts}/${uniq_path}"
|
||||||
cp -f $file_notify_py "${dir_scripts}/${uniq_path}"
|
cp -f $file_notify_py "${dir_scripts}/${uniq_path}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user