From 17ddadab1b0f7e5f056026d0bb411dece7d7e721 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Fri, 12 Apr 2024 10:17:23 +0200 Subject: [PATCH] updateall : suppression script git --- config/updateall/scripts/70-git | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 config/updateall/scripts/70-git diff --git a/config/updateall/scripts/70-git b/config/updateall/scripts/70-git deleted file mode 100755 index 3e863b1..0000000 --- a/config/updateall/scripts/70-git +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env sh -[ -z "$SSH_AGENT_PID" ] && exec ssh-agent -- "$0" "$@" -ssh-add - -update_repo() { - cd -- "$1" || return - printf 'Updating repository \033[1m%s\033[0m...\n' "$1" - git pull -} - -cd ~/git || exit - -for i in *; do - while [ "$(jobs -p | wc -l)" -ge 4 ]; do - sleep 1 - done - - update_repo "$i" & -done -wait