diff options
author | Dmitry Patsura <[email protected]> | 2019-06-07 18:18:13 +0300 |
---|---|---|
committer | Dmitry Patsura <[email protected]> | 2019-06-07 18:18:13 +0300 |
commit | f00608935f3d2576bf3edc50d3eb303ce2cd66ea (patch) | |
tree | c6b0cb16e668694acb42d3316e83f24cfaa7d666 /src | |
parent | b71ec58e30da602a3d3f04feb00f9dc4f806245b (diff) |
Fix(rr): Allow to run without ext-zip for linux
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/rr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ if (!defined('RR_COMPOSER_INSTALL')) { die(1); } -if (!class_exists('ZipArchive')) { +if (RRHelper::getOSType() !== 'linux' && !class_exists('ZipArchive')) { fwrite(STDERR, 'Extension `php-zip` is required.' . PHP_EOL); die(1); } |