summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/rr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rr b/src/bin/rr
index 87403e38..a2a099db 100644
--- a/src/bin/rr
+++ b/src/bin/rr
@@ -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);
}