mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 20:05:35 +08:00
fix distro
This commit is contained in:
@@ -57,7 +57,7 @@ class LinuxToolCheckList
|
|||||||
if ($distro['dist'] === 'alpine') {
|
if ($distro['dist'] === 'alpine') {
|
||||||
// check linux-headers installation
|
// check linux-headers installation
|
||||||
if (!file_exists('/usr/include/linux/mman.h')) {
|
if (!file_exists('/usr/include/linux/mman.h')) {
|
||||||
return CheckResult::fail('linux-headers not installed on your system', 'install-linux-tools', ['alpine', ['linux-headers']]);
|
return CheckResult::fail('linux-headers not installed on your system', 'install-linux-tools', [$distro, ['linux-headers']]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return CheckResult::ok();
|
return CheckResult::ok();
|
||||||
|
|||||||
Reference in New Issue
Block a user