mirror of
https://github.com/whyour/qinglong.git
synced 2026-05-13 23:55:22 +08:00
Refactor dependency file filtering in update.sh
This commit is contained in:
parent
cf3fe312b7
commit
7aa33c9374
|
|
@ -397,10 +397,9 @@ 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
|
||||||
if [[ $dependence ]]; then
|
|
||||||
files=$(echo "$files" | egrep -v "$dependence")
|
files=$(echo "$files" | egrep -v "$dependence")
|
||||||
fi
|
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