vncserver: extract DetectEnvironment()

This commit is contained in:
Dmitry Maksyoma 2021-08-09 22:48:00 +12:00
parent 5f3fcddcde
commit a2a748a582

View File

@ -25,8 +25,7 @@
# vncserver - wrapper script to start an X VNC server. # vncserver - wrapper script to start an X VNC server.
# #
$exedir = &DetectBinariesDir(); &DetectEnvironment();
&CheckRequiredDependenciesArePresent();
# #
# Global variables. You may want to configure some of these for # Global variables. You may want to configure some of these for
@ -1038,3 +1037,8 @@ sub PrintKasmUsers {
} }
warn "\n"; warn "\n";
} }
sub DetectEnvironment {
$exedir = &DetectBinariesDir();
&CheckRequiredDependenciesArePresent();
}