decentral1se 0be532692d
Some checks failed
continuous-integration/drone/pr Build is failing
test: moar integration tests [ci skip]
2023-09-20 13:51:06 +02:00

17 lines
341 B
Bash

#!/usr/bin/env bash
_fetch_recipe() {
if [[ -z "$1" ]]; then
echo 'forgot to pass argument to function?'
exit 1
fi
if [[ ! -d "$ABRA_DIR/recipes/$1" ]]; then
run mkdir -p "$ABRA_DIR/recipes"
assert_success
run git clone "https://git.coopcloud.tech/coop-cloud/$1" "$ABRA_DIR/recipes/$1"
assert_success
fi
}