mirror of
https://github.com/whyour/qinglong.git
synced 2026-03-29 19:11:02 +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
|
||||
files=$(echo "$files" | egrep -v "$blackword")
|
||||
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_py "${dir_scripts}/${uniq_path}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user