File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ PHP_VERSION=`php -r "echo PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION;"`
14
14
PHP_EXTENSION_DIR=` php -r " echo ini_get('extension_dir');" `
15
15
16
16
# download the extension file into the extension dir
17
- curl -o " ${PHP_EXTENSION_DIR} /fs_notify.so" " https://github.com/genkgo/php-ext-fs-notify/releases/latest/download/linux-php${PHP_VERSION} -fs_notify.so"
17
+ curl -L - o " ${PHP_EXTENSION_DIR} /fs_notify.so" " https://github.com/genkgo/php-ext-fs-notify/releases/latest/download/linux-php${PHP_VERSION} -fs_notify.so"
18
18
19
19
# enable the extension
20
- echo ' extension=fs_notify.so' > /etc/php/${PHP_VERSION} /cli/conf.d/20-fs_notify.ini
20
+ echo ' extension=fs_notify.so' | tee -a /etc/php/${PHP_VERSION} /cli/conf.d/20-fs_notify.ini > /dev/null
21
21
```
22
22
23
23
## Usage
You can’t perform that action at this time.
0 commit comments