diff --git a/sbin/setupFirstUseGit b/sbin/setupFirstUseGit index 154c958..5aa8a5a 100755 --- a/sbin/setupFirstUseGit +++ b/sbin/setupFirstUseGit @@ -25,6 +25,7 @@ clone_repo () { MYNAME=`uname -n` DELETE_ONETIME=0 + # set base directories if [ $USER != "root" ] then diff --git a/sbin/setupUserGit b/sbin/setupUserGit index 63adf46..5526665 100755 --- a/sbin/setupUserGit +++ b/sbin/setupUserGit @@ -55,7 +55,7 @@ else fi - +# set base directories if [ $USER != "root" ] then ZZ=~/git @@ -81,8 +81,7 @@ else fi clone_repo - - +# start cloning repos REPOSITE=${PRIVATE_SITE} KEYS=${PRIVATE_KEYS} @@ -107,6 +106,7 @@ clone_repo if [ ${DELETE_ONETIME} = 1 ] then rm -f /root/root.private + echo "Deleting /root/root.private" fi if [ $USER != "root" ] @@ -117,3 +117,4 @@ else fi exit 0 +