Skip to content

Commit 311ee40

Browse files
committed
update LinuxToolCheckList.php to install perl-Time-Piece to make openssl work
1 parent 808d224 commit 311ee40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SPC/doctor/item/LinuxToolCheckList.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class LinuxToolCheckList
5454
'gettext-devel' => 'gettextize',
5555
'gettext-dev' => 'gettextize',
5656
'perl-IPC-Cmd' => '/usr/share/doc/perl-IPC-Cmd',
57+
'perl-Time-Piece' => '/usr/share/doc/perl-Time-Piece',
5758
];
5859

5960
/** @noinspection PhpUnused */
@@ -65,7 +66,7 @@ public function checkCliTools(): ?CheckResult
6566
$required = match ($distro['dist']) {
6667
'alpine' => self::TOOLS_ALPINE,
6768
'redhat' => self::TOOLS_RHEL,
68-
'centos' => array_merge(self::TOOLS_RHEL, ['perl-IPC-Cmd']),
69+
'centos' => array_merge(self::TOOLS_RHEL, ['perl-IPC-Cmd', 'perl-Time-Piece']),
6970
'arch' => self::TOOLS_ARCH,
7071
default => self::TOOLS_DEBIAN,
7172
};

0 commit comments

Comments
 (0)