diff --git a/shell/update.sh b/shell/update.sh index 1343c2fe..7c1d1197 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -400,7 +400,7 @@ gen_list_repo() { fi if [[ -d $dir_dep ]]; then - cp -f $dir_dep/* "${dir_scripts}/${uniq_path}" &>/dev/null + cp -rf $dir_dep/* "${dir_scripts}/${uniq_path}" &>/dev/null fi for file in ${files}; do