Completes bootstrap.v2 setup

This commit is contained in:
Michel Fedde 2025-04-21 23:00:19 +02:00
parent 2bbccb4595
commit b8192c832e
24 changed files with 86 additions and 143 deletions

View file

@ -0,0 +1,25 @@
#!/bin/env sh
setupGitRepositories() {
declare -A repositories
repositories['DSA']="ssh://git.php.fail/neintonine/dsa.git"
repositories['Notes']="ssh://git.php.fail/neintonine/notes.git"
repositories['gameconcepts']="ssh://git.php.fail/neintonine/game-concepts.git"
for path in "${!repositories[@]}"; do
url=${repositories[$path]}
realPath="${HOME}/$path"
if [ -d "$realPath" ]; then
echo "-- $realPath already exist... skipping clone"
continue
fi
echo "-- Cloning to $realPath";
git clone "$url" "$realPath"
done
}
addActions setupGitRepositories