This commit is contained in:
USER
2023-03-27 21:22:22 +01:00
parent 9664d97474
commit 2831331e93
3 changed files with 17 additions and 8 deletions

View File

@ -30,7 +30,7 @@ update-config: ## update global git config and ignores
update:
-(${ZPC}/zShared/sbin/GitClonePublic)
-(${ZPC}/zShared/sbin/GitPullPublic)
-(${ZPC}/zShared/sbin/GitPull)
#####
load-all: update-config mark-complete

View File

@ -4,7 +4,7 @@ echo "SCRIPT $0 starting"
MYNAME=`uname -n`
ZPC=/zz
ZZ=/zz
REPO='zPublic zShared'
KEYS=
@ -13,15 +13,17 @@ then
mkdir ${ZPC}
fi
REPOG=https://mint.nopenso.com/mirror
REPOSITE=https://mint.nopenso.com/mirror
for i in ${REPO}
for i in `ls ${ZZ}`
do
echo $i
if [ ! -d ${ZPC}/$i ]
then
echo $i
cd ${ZPC}
git clone ${REPOG}/${i}.git
git clone ${REPOSITE}/${i}.git
fi
done
exit 0

View File

@ -4,14 +4,21 @@ echo "SCRIPT $0 starting"
MYNAME=`uname -n`
ZPC=/zz
ZZ=/zz
REPO='zPublic zShared'
KEYS=
for i in ${REPO}
if [ ! -d ${ZPC} ]
then
mkdir ${ZPC}
fi
REPOSITE=https://mint.nopenso.com/mirror
for i in `ls ${ZZ}`
do
echo $i
if [ -d ${ZPC}/$i ]
if [ -d ${ZZ}/$i ]
then
echo $i
cd ${ZPC}