|
Ultima modificación |
Ver Log
|
| Rev |
Autor |
Línea Nro. |
Línea |
| 1441 |
ariadna |
1 |
Instructions for importing composer/pcre into Moodle.
|
|
|
2 |
|
|
|
3 |
Note: This package is used by phpoffice/phpspreadsheet.
|
|
|
4 |
|
|
|
5 |
```sh
|
|
|
6 |
cp lib/composer/pcre/readme_moodle.txt ./
|
|
|
7 |
rm -rf lib/composer/pcre
|
|
|
8 |
tempdir=`mktemp -d`
|
|
|
9 |
cd $tempdir
|
|
|
10 |
composer init -n --require composer/pcre:*
|
|
|
11 |
composer install
|
|
|
12 |
cd -
|
|
|
13 |
cp -r $tempdir/vendor/composer/pcre lib/composer/pcre
|
|
|
14 |
mv readme_moodle.txt lib/composer/pcre
|
|
|
15 |
rm -rf $tempdir
|
|
|
16 |
```
|