From 7bdf1e8defcf05ec18afd201d628386664d0d2a0 Mon Sep 17 00:00:00 2001 From: USER Date: Mon, 25 Sep 2023 21:47:09 +0100 Subject: [PATCH] . --- sbin/GitPull | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/sbin/GitPull b/sbin/GitPull index c79de6f..e000fa8 100755 --- a/sbin/GitPull +++ b/sbin/GitPull @@ -20,24 +20,12 @@ if [ $USER = root ] then ZZ=/zz/* pull_repo +else + ZZ=~/git/private/z* + pull_repo + + ZZ=~/git/public/z* + pull_repo fi -#for i in `ls ${ZZ}` -#do -# echo $i -# if [ -d ${ZZ}/$i/.git ] -# then -# echo $i -# (cd ${ZZ}/$i; git pull; git checkout main; git pull ) -# fi -#done - -ZZ=~/git/private/z* -pull_repo - - - -ZZ=~/git/public/z* -pull_repo - exit 0