From: Tim Düsterhus Date: Thu, 22 Oct 2020 12:37:53 +0000 (+0200) Subject: Add skipStyleUpdate paramter to file PIP X-Git-Tag: 5.4.0_Alpha_1~583^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed4bfa914fbf911c7ab7fb2568a361e29a758f40;p=GitHub%2FWoltLab%2FWCF.git Add skipStyleUpdate paramter to file PIP --- diff --git a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php index a3b2fe9f20..fdc828cd5f 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/FilePackageInstallationPlugin.class.php @@ -81,8 +81,10 @@ class FilePackageInstallationPlugin extends AbstractPackageInstallationPlugin im // delete temporary sourceArchive @unlink($sourceFile); - // update acp style file - StyleUtil::updateStyleFile(); + if (!isset($this->instruction['attributes']['skipStyleUpdate'])) { + // update acp style file + StyleUtil::updateStyleFile(); + } } /**