diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 614ad9e340..57dadb73b5 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -41,7 +41,7 @@ function system_requirements($phase) {
     // Display the currently active installation profile, if the site
     // is not running the default installation profile.
     $profile = drupal_get_profile();
-    if ($profile != 'standard') {
+    if (!in_array($profile, ['standard', 'minimal'])) {
       $info = system_get_info('module', $profile);
       $requirements['install_profile'] = [
         'title' => t('Installation profile'),
