summaryrefslogtreecommitdiffstats
path: root/pie-rpm.patch
blob: 319bf1527ad41b74e16a7e5aefec80f09dc6610b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -up ./bin/pie.rpm ./bin/pie
--- ./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';
+include $_composer_autoload_path ?? '/usr/share/pie/vendor/autoload.php';
 
 $container = Container::factory();
 
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 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;
         }