blob: d72f26017cffcd597fb81f81819db3630e365668 (
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
35
36
37
38
39
40
41
42
|
diff -up ./bin/pie.rpm ./bin/pie
--- ./bin/pie.rpm 2026-03-19 15:22:15.000000000 +0100
+++ ./bin/pie 2026-03-19 15:22:31.719304419 +0100
@@ -28,13 +28,14 @@ use function error_reporting;
use const E_DEPRECATED;
-require_once __DIR__ . '/../src/Util/PieVersion.php';
+require_once '/usr/share/pie/src/Util/PieVersion.php';
+
if (PieVersion::isPharBuild()) {
error_reporting(error_reporting() & ~E_DEPRECATED);
}
// phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps
-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 2026-03-19 15:22:15.000000000 +0100
+++ ./src/Command/SelfUpdateCommand.php 2026-03-19 15:23:34.903816597 +0100
@@ -84,6 +84,7 @@ final class SelfUpdateCommand extends Co
{
if (! PieVersion::isPharBuild() || Platform::isRunningStaticPhp()) {
$this->io->writeError('<comment>Aborting! You are not running a PHAR, cannot self-update.</comment>');
+ $this->io->writeError('<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 2026-03-19 15:22:15.000000000 +0100
+++ ./src/Command/SelfVerifyCommand.php 2026-03-19 15:22:31.719485375 +0100
@@ -43,6 +43,7 @@ final class SelfVerifyCommand extends Co
{
if (! PieVersion::isPharBuild()) {
$this->io->writeError('<comment>Aborting! You are not running a PHAR, cannot self-verify.</comment>');
+ $this->io->writeError('<comment>Verify the pie RPM using the package manager (rpm).</comment>');
return Command::FAILURE;
}
|