diff options
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl index 598432c93..d689602fd 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -52,6 +52,7 @@ GetOptions(\%switch, 'help|h|?', 'no-templates|t', 'verbose|v|no-silent', 'cpanm:s', 'check-modules', 'make-admin=s', 'reset-password=s', 'version|V', + 'no-assets', 'no-permissions|p'); # Print the help message if that switch was selected. @@ -190,6 +191,11 @@ my %old_params = update_params(); Bugzilla::Template::precompile_templates(!$silent) unless $switch{'no-templates'}; +unless ($switch{'no-assets'}) { + say "Compiling assets..." unless $silent; + Bugzilla->asset_manager->compile_all; +} + ########################################################################### # Set proper rights (--CHMOD--) ########################################################################### |