summaryrefslogtreecommitdiffstats
path: root/composer-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-05-28 14:56:07 +0200
committerRemi Collet <remi@php.net>2026-05-28 14:56:07 +0200
commitc4649fa66b8d91c4ff7f61ec256bdec1f7351980 (patch)
tree83842c519d3a1ef3ce7651fb3ce152dc006eb11e /composer-rpm.patch
parentdbe0c9b1ec63754d800ce072d1176cbc2a7326b7 (diff)
update to 2.10.0HEADmaster
Diffstat (limited to 'composer-rpm.patch')
-rw-r--r--composer-rpm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/composer-rpm.patch b/composer-rpm.patch
index 7323225..0f5a7d3 100644
--- a/composer-rpm.patch
+++ b/composer-rpm.patch
@@ -43,3 +43,16 @@ diff -up ./vendor/composer/ca-bundle/src/CaBundle.php.rpm ./vendor/composer/ca-b
// cURL does not understand 'phar://' paths
// see https://github.com/composer/ca-bundle/issues/10
+diff -up ./src/Composer/Command/SelfUpdateCommand.php.rpm ./src/Composer/Command/SelfUpdateCommand.php
+--- ./src/Composer/Command/SelfUpdateCommand.php.rpm 2026-05-28 14:51:24.953172177 +0200
++++ ./src/Composer/Command/SelfUpdateCommand.php 2026-05-28 14:51:30.174907909 +0200
+@@ -86,7 +86,8 @@ EOT
+ $output->writeln('<comment>To update Composer, download a composer.phar from https://getcomposer.org and then run `composer.phar update composer/composer` in your project.</comment>');
+ } else {
+ $output->writeln('<error>This instance of Composer does not have the self-update command.</error>');
+- $output->writeln('<comment>This could be due to a number of reasons, such as Composer being installed as a system package on your OS, or Composer being installed as a package in the current project.</comment>');
++ $output->writeln('<comment>Composer is installed as a system package on your OS.</comment>');
++ $output->writeln('<comment>Update the composer RPM using the package manager (dnf).</comment>');
+ }
+
+ return 1;