Suppress output of clone and do better logging
This commit is contained in:
parent
fff2fbe819
commit
ebfe7ca4e8
7
abra
7
abra
@ -330,10 +330,11 @@ require_app_latest() {
|
|||||||
APP_DIR="$ABRA_DIR/apps/$APP"
|
APP_DIR="$ABRA_DIR/apps/$APP"
|
||||||
|
|
||||||
if [ ! -d "$APP_DIR" ]; then
|
if [ ! -d "$APP_DIR" ]; then
|
||||||
warning "'$APP' not found, fetching via git.."
|
warning "The app type '$APP' was not found, fetching via Git"
|
||||||
if ! git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP"; then
|
if ! git clone "$GIT_URL/$APP.git" "$ABRA_DIR/apps/$APP" > /dev/null 2>&1 ; then
|
||||||
error "Could not retrieve '$APP', this app doesn't exist?"
|
error "Could not retrieve app type '$APP', this app type doesn't exist?"
|
||||||
fi
|
fi
|
||||||
|
success "Fetched app configuration via Git"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user