mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Create the cache directory if it doesn't exist
This commit is contained in:
parent
2d94af6913
commit
32d09dd5ad
1 changed files with 2 additions and 0 deletions
2
build
2
build
|
@ -76,6 +76,8 @@ task_download-composer() {
|
|||
if [ -f "${cache_dir}/composer" ]; then
|
||||
return 0;
|
||||
fi
|
||||
[ ! -d "${cache_dir}" ] || mkdir "${cache_dir}";
|
||||
|
||||
|
||||
task_begin "Downloading composer";
|
||||
curl "https://getcomposer.org/composer.phar" -o "${cache_dir}/composer"; exit_code=$?;
|
||||
|
|
Loading…
Reference in a new issue