Project

General

Profile

« Previous | Next » 

Revision a59edf6c

Added by Andreas Kohlbecker almost 3 years ago

finding package local composer

View differences:

scripts/admin/update-dependencies.sh
51 51
    exit -1
52 52
fi
53 53

  
54
# --- backups before any modification
54
# -- requirements
55

  
56
COMPOSER=$(which composer)
57
if [[ -z "$COMPOSER" ]]; then
58
    # try local composer
59
    if [[ -x ./composer ]]; then
60
        COMPOSER=./composer
61
    else
62
        echo "composer not found. Please see https://github.com/cybertaxonomy/cdm-dataportal#preparation"
63
        exit -1
64
    fi
65
fi
66

  
67
# -- backups before any modification
55 68
TMP=$(mktemp -d)
56 69

  
57 70
echo "creating full backup ..."

Also available in: Unified diff