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: update:
-(${ZPC}/zShared/sbin/GitClonePublic) -(${ZPC}/zShared/sbin/GitClonePublic)
-(${ZPC}/zShared/sbin/GitPullPublic) -(${ZPC}/zShared/sbin/GitPull)
##### #####
load-all: update-config mark-complete load-all: update-config mark-complete

View File

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

View File

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