Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化安装逻辑 #325

Merged
merged 2 commits into from
Feb 23, 2024
Merged

优化安装逻辑 #325

merged 2 commits into from
Feb 23, 2024

Conversation

1ridic
Copy link
Contributor

@1ridic 1ridic commented Feb 23, 2024

将逻辑修改为如果没有 getenforce 则不执行相关逻辑,解决在不安装 selinux 的 archlinux 系统上执行getenforce 出现 command not found 的问题.

1ridic and others added 2 commits February 23, 2024 17:34
If `getenforce` is not exist, then do not execute
it. This fixes the `command not found` error on
Arch Linux systems without SELinux installed.
@naiba naiba merged commit 0835f13 into naiba:master Feb 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants