aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/plugins/extension/Installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/extension/Installer.php')
-rw-r--r--lib/plugins/extension/Installer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/plugins/extension/Installer.php b/lib/plugins/extension/Installer.php
index e08f1da52..5bb429b01 100644
--- a/lib/plugins/extension/Installer.php
+++ b/lib/plugins/extension/Installer.php
@@ -406,6 +406,11 @@ class Installer
{
$target = $extension->getInstallDir();
+ // bundled plugins do not need to be writable
+ if ($extension->isBundled()) {
+ return;
+ }
+
// updates
if (file_exists($target)) {
if (!is_writable($target)) throw new Exception('noperms');