Enable abra-capsul, fix plugin clone URL
This commit is contained in:
parent
7a1a436601
commit
19041af9d5
6
abra
6
abra
|
@ -548,8 +548,8 @@ require_plugin() {
|
|||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
if ! git clone ${git_extra_args:-} "$GIT_URL/$PLUGIN.git" "$ABRA_DIR/plugins/$PLUGIN" > /dev/null 2>&1 ; then
|
||||
error "Could not retrieve the $PLUGIN plugin, does it exist?"
|
||||
if ! git clone ${git_extra_args:-} "$GIT_URL$PLUGIN.git" "$ABRA_DIR/plugins/$PLUGIN" > /dev/null 2>&1 ; then
|
||||
error "Could not retrieve the plugin '$PLUGIN' from '$GIT_URL$PLUGIN.git' to '$ABRA_DIR/plugins/$PLUGIN', does it exist?"
|
||||
fi
|
||||
|
||||
if [[ $(cd "$ABRA_DIR/plugins/$PLUGIN" && git branch --list | wc -l) == "0" ]]; then
|
||||
|
@ -2562,7 +2562,7 @@ sub_server_new() {
|
|||
|
||||
PROVIDER="$abra__provider_"
|
||||
|
||||
if [ "$PROVIDER" != "hetzner" ]; then
|
||||
if [ "$PROVIDER" != "hetzner" ] && [ "$PROVIDER" != "capsul" ]; then
|
||||
error "Unknown provider plugin 'abra-${PROVIDER}'"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue