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