vncserver: refactor

This commit is contained in:
Dmitry Maksyoma 2021-09-18 22:31:32 +12:00
parent 17fa6911c1
commit 606075ddc0

View File

@ -544,14 +544,14 @@ sub CheckRequiredDependenciesArePresent
$SOCK_STREAM = &SOCK_STREAM;
}
&CheckUserHasSslCertGroupOnDebian();
&CheckUserHasAccessToDefaultCertOnDebian();
}
sub IsDebian {
return -f "/etc/debian_version";
}
sub CheckUserHasSslCertGroupOnDebian {
sub CheckUserHasAccessToDefaultCertOnDebian {
if (!&IsDebian()) {
return;
}