From a166796378bb41145559aa0899394583938b900d Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 3 Dec 2019 18:54:35 +0100 Subject: [PATCH] Update license script apps Signed-off-by: Christoph Wurst --- build/license.php | 56 ++++++++++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 15 deletions(-) diff --git a/build/license.php b/build/license.php index cb19f196ff..a3a4483091 100644 --- a/build/license.php +++ b/build/license.php @@ -161,8 +161,12 @@ With help from many libraries and frameworks including: $license = str_replace('@COPYRIGHT@', $copyrightNotices, $license); } - $source = $this->eatOldLicense($source); - $source = "eatOldLicense($source); + if ($isStrict) { + $source = "exec($argv[1], isset($argv[2]) ? $argv[1] : false); } else { $licenses->exec([ + '../apps/accessibility', '../apps/admin_audit', + '../apps/cloud_federation_api', '../apps/comments', '../apps/dav', '../apps/encryption', @@ -375,17 +397,21 @@ if (isset($argv[1])) { '../apps/files_sharing', '../apps/files_trashbin', '../apps/files_versions', + '../apps/lookup_server_connector', + '../apps/oauth2', '../apps/provisioning_api', + '../apps/settings', + '../apps/sharebymail', '../apps/systemtags', '../apps/testing', '../apps/theming', + '../apps/twofactor_backupcodes', '../apps/updatenotification', '../apps/user_ldap', '../build/integration/features/bootstrap', '../core', '../lib', '../ocs', - '../settings', '../console.php', '../cron.php', '../index.php',