5
0
Fork 0

commit by to_remotes 2024-04-29 12:45:06 +0200 from vmdevac

main
ag 2024-04-29 12:45:06 +02:00
parent 3cc29cba80
commit 9df400092e
1 changed files with 2 additions and 3 deletions

View File

@ -68,11 +68,13 @@ function start_ssh_agent(){
function init_repos(){
if [ -d "$WA_REPO" ]; then
echo "$WA_REPO does exist, skipping cloning"
source $WA_REPO/export_client_name.sh
echo "found client name: $CLIENT_NAME"
source $HOME/.zshrc
git_pull
else
echo -n "client name: "
@ -106,13 +108,10 @@ function init_repos(){
cat $HOME/.ssh/deploy_key.pub
fi
echo " "
echo -n "ready to pull? type yes: "
read -r ready_to_pull
if [ "$ready_to_pull" = "yes" ]; then
start_ssh_agent