.
This commit is contained in:
@ -6,7 +6,7 @@ MYNAME=`uname -n`
|
|||||||
|
|
||||||
ZPC=/zz
|
ZPC=/zz
|
||||||
REPO='zPublic zPublicConfig zShared'
|
REPO='zPublic zPublicConfig zShared'
|
||||||
|
KEYS=
|
||||||
|
|
||||||
if [ ! -d ${ZPC} ]
|
if [ ! -d ${ZPC} ]
|
||||||
then
|
then
|
||||||
@ -18,6 +18,7 @@ do
|
|||||||
echo $i
|
echo $i
|
||||||
if [ ! -d ${ZPC}/$i ]
|
if [ ! -d ${ZPC}/$i ]
|
||||||
then
|
then
|
||||||
|
echo $i
|
||||||
cd ${ZPC}
|
cd ${ZPC}
|
||||||
git clone https://github.com/spongle70/${i}.git
|
git clone https://github.com/spongle70/${i}.git
|
||||||
fi
|
fi
|
||||||
@ -6,14 +6,17 @@ MYNAME=`uname -n`
|
|||||||
|
|
||||||
ZPC=/zz
|
ZPC=/zz
|
||||||
REPO='zPublic zPublicConfig zShared'
|
REPO='zPublic zPublicConfig zShared'
|
||||||
|
KEYS=
|
||||||
|
|
||||||
|
for i in ${REPO}
|
||||||
if [ -d ${ZPC} ]
|
do
|
||||||
then
|
echo $i
|
||||||
for i in `ls -d ${ZPC}/z*`
|
if [ -d ${ZPC}/$i ]
|
||||||
do
|
then
|
||||||
echo $i
|
echo $i
|
||||||
|
cd ${ZPC}
|
||||||
(cd $i; git pull)
|
(cd $i; git pull)
|
||||||
done
|
fi
|
||||||
fi
|
done
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
Reference in New Issue
Block a user