mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-23 16:43:15 +01:00
vncserver: extract IsDebian()
This commit is contained in:
parent
5f7d3ad43a
commit
17fa6911c1
@ -547,8 +547,12 @@ sub CheckRequiredDependenciesArePresent
|
||||
&CheckUserHasSslCertGroupOnDebian();
|
||||
}
|
||||
|
||||
sub IsDebian {
|
||||
return -f "/etc/debian_version";
|
||||
}
|
||||
|
||||
sub CheckUserHasSslCertGroupOnDebian {
|
||||
if (! -f "/etc/debian_version") {
|
||||
if (!&IsDebian()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user