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

2 years ago
  1. #!/bin/bash
  2. ### DO NOT EDIT THIS FILE
  3. source "$(dirname "${BASH_SOURCE[0]}")/../includes/includes.sh"
  4. app_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." &> /dev/null && pwd)
  5. source "$app_dir/etc/config.sh"
  6. echo
  7. echoMainTitle "Cloning Repository"
  8. repo_path="$app_dir/git/$project_name"
  9. if [ ! -d "$repo_path" ] && [ "$git_url" != "" ]
  10. then
  11. addSSHKey "git"
  12. git clone "$git_url" "$repo_path"
  13. fi
  14. postScript "$app_dir/bin/postscript/clone_repo.sh"