summaryrefslogtreecommitdiffstats
path: root/pie-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-05-04 07:16:17 +0200
committerRemi Collet <remi@php.net>2025-05-04 07:16:17 +0200
commitff32e500d41ade7c4e0f4f72219ffa34db9e5f92 (patch)
tree8884062cf22ac808a01919886e6147f4aa5572c4 /pie-rpm.patch
parent8a79d938826da670e57606f5c16be69df31b7530 (diff)
update to 0.10.0HEADmaster
Diffstat (limited to 'pie-rpm.patch')
-rw-r--r--pie-rpm.patch29
1 files changed, 20 insertions, 9 deletions
diff --git a/pie-rpm.patch b/pie-rpm.patch
index bce68f7..319bf15 100644
--- a/pie-rpm.patch
+++ b/pie-rpm.patch
@@ -1,8 +1,8 @@
diff -up ./bin/pie.rpm ./bin/pie
---- ./bin/pie.rpm 2024-10-04 11:40:48.733248660 +0200
-+++ ./bin/pie 2024-10-04 11:42:00.473990273 +0200
-@@ -17,7 +17,7 @@ use Symfony\Component\Console\Input\Inpu
- use Symfony\Component\Console\Output\OutputInterface;
+--- ./bin/pie.rpm 2025-05-04 07:07:22.613769884 +0200
++++ ./bin/pie 2025-05-04 07:08:14.674780350 +0200
+@@ -25,7 +25,7 @@ use Symfony\Component\Console\Output\Out
+ use Symfony\Component\EventDispatcher\EventDispatcher;
/** @psalm-suppress UnresolvableInclude */
-include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';
@@ -10,14 +10,25 @@ diff -up ./bin/pie.rpm ./bin/pie
$container = Container::factory();
-diff -up ./src/Command/SelfUpdateCommand.php.old ./src/Command/SelfUpdateCommand.php
---- ./src/Command/SelfUpdateCommand.php.old 2025-04-15 08:39:08.283938705 +0200
-+++ ./src/Command/SelfUpdateCommand.php 2025-04-15 08:40:47.169189092 +0200
-@@ -66,6 +66,7 @@ final class SelfUpdateCommand extends Co
+diff -up ./src/Command/SelfUpdateCommand.php.rpm ./src/Command/SelfUpdateCommand.php
+--- ./src/Command/SelfUpdateCommand.php.rpm 2025-05-04 07:07:22.613884103 +0200
++++ ./src/Command/SelfUpdateCommand.php 2025-05-04 07:08:42.762882203 +0200
+@@ -63,6 +63,7 @@ final class SelfUpdateCommand extends Co
{
if (! PieVersion::isPharBuild()) {
$output->writeln('<comment>Aborting! You are not running a PHAR, cannot self-update.</comment>');
+ $output->writeln('<comment>Update the pie RPM using the package manager (dnf).</comment>');
- return 1;
+ return Command::FAILURE;
+ }
+diff -up ./src/Command/SelfVerifyCommand.php.rpm ./src/Command/SelfVerifyCommand.php
+--- ./src/Command/SelfVerifyCommand.php.rpm 2025-05-04 07:12:21.285478859 +0200
++++ ./src/Command/SelfVerifyCommand.php 2025-05-04 07:14:06.624616100 +0200
+@@ -49,6 +49,7 @@ final class SelfVerifyCommand extends Co
+ {
+ if (! PieVersion::isPharBuild()) {
+ $output->writeln('<comment>Aborting! You are not running a PHAR, cannot self-verify.</comment>');
++ $output->writeln('<comment>Verify the pie RPM using the package manager (rpm).</comment>');
+
+ return Command::FAILURE;
}