summaryrefslogtreecommitdiffstats
path: root/pie-rpm.patch
blob: bce68f7e36b8c9f1fc93abb630b0cad714ad24da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
 
 /** @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.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
     {
         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;
         }