diff --git a/bin/cPull2 b/bin/cPull2 index 193d77e..fbc3f6d 100755 --- a/bin/cPull2 +++ b/bin/cPull2 @@ -309,7 +309,7 @@ case $1 in mkdir -p ${ZSHARED} fi ;; - *) + myconfig) RSYNCSOURCE="myconfig" RSYNCDEST=${ZCONFIG} if [ ! -d ${ZCONFIG} ] @@ -317,6 +317,14 @@ case $1 in mkdir -p ${ZCONFIG} fi ;; + *) + RSYNCSOURCE="public" + RSYNCDEST=${ZGOLD} + if [ ! -d ${ZGOLD} ] + then + mkdir -p ${ZGOLD} + fi + ;; esac if [ -s /root/.cpullenv ]