diff --git a/update-repo.sh b/update-repo.sh index 30177cc..c20ed37 100644 --- a/update-repo.sh +++ b/update-repo.sh @@ -15,7 +15,9 @@ Check_current_dir() { Clean_local() { Send_log "info" "Cleaning local config..." - rm -rf $outdir + for dir in ${config_dirs[@]}; do + rm -rf $outdir/$dir + done } Update_local() {