Ein für Shopware 6 vorbereitet Systemmanagment.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
454 B

#!/bin/bash
### DO NOT EDIT THIS FILE
source "$(dirname "${BASH_SOURCE[0]}")/../includes/includes.sh"
app_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." &> /dev/null && pwd)
source "$app_dir/etc/config.sh"
echo
echoMainTitle "Cloning Repository"
repo_path="$app_dir/git/$project_name"
if [ ! -d "$repo_path" ] && [ "$git_url" != "" ]
then
addSSHKey "git"
git clone "$git_url" "$repo_path"
fi
postScript "$app_dir/bin/postscript/clone_repo.sh"