diff --git a/shell/update.sh b/shell/update.sh index bffe0bea..4e09689a 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -397,10 +397,9 @@ 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 + 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}"