.
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
@ -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}
|
||||||
Reference in New Issue
Block a user