mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 00:53:39 +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