mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
update LinuxToolCheckList.php to install perl-Time-Piece to make openssl work
This commit is contained in:
parent
808d224b08
commit
311ee40ae4
@ -54,6 +54,7 @@ class LinuxToolCheckList
|
||||
'gettext-devel' => 'gettextize',
|
||||
'gettext-dev' => 'gettextize',
|
||||
'perl-IPC-Cmd' => '/usr/share/doc/perl-IPC-Cmd',
|
||||
'perl-Time-Piece' => '/usr/share/doc/perl-Time-Piece',
|
||||
];
|
||||
|
||||
/** @noinspection PhpUnused */
|
||||
@ -65,7 +66,7 @@ class LinuxToolCheckList
|
||||
$required = match ($distro['dist']) {
|
||||
'alpine' => self::TOOLS_ALPINE,
|
||||
'redhat' => self::TOOLS_RHEL,
|
||||
'centos' => array_merge(self::TOOLS_RHEL, ['perl-IPC-Cmd']),
|
||||
'centos' => array_merge(self::TOOLS_RHEL, ['perl-IPC-Cmd', 'perl-Time-Piece']),
|
||||
'arch' => self::TOOLS_ARCH,
|
||||
default => self::TOOLS_DEBIAN,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user