From dc917273e438554fa18ee3a17f7d3ff84056ec67 Mon Sep 17 00:00:00 2001 From: USER Date: Sun, 23 Apr 2023 20:40:49 +0100 Subject: [PATCH] . --- sbin/GitClone | 5 ++++- sbin/GitPull | 10 ++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/sbin/GitClone b/sbin/GitClone index b7cd01d..e23d72a 100755 --- a/sbin/GitClone +++ b/sbin/GitClone @@ -7,7 +7,10 @@ MYNAME=`uname -n` ZZ=/zz MYNAME=`uname -n` -. ${ZZ}/zSyno/secrets/.${MYNAME} +if [ -f ${ZZ}/zSyno/secrets/.${MYNAME} ] +then + . ${ZZ}/zSyno/secrets/.${MYNAME} +fi REPOSITE=${PUBLIC_SITE} REPO=${PUBLIC_REPO} diff --git a/sbin/GitPull b/sbin/GitPull index 2bcecec..285590d 100755 --- a/sbin/GitPull +++ b/sbin/GitPull @@ -8,12 +8,10 @@ ZZ=/zz REPO= KEYS= -if [ ! -d ${ZPC} ] -then - mkdir ${ZPC} -fi - -REPOSITE=https://mint.nopenso.com/mirror +# if [ ! -d ${ZPC} ] +# then +# mkdir ${ZPC} +# fi for i in `ls ${ZZ}` do