mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-30 20:13:20 +01:00
vncserver: extract DetectEnvironment()
This commit is contained in:
parent
5f3fcddcde
commit
a2a748a582
@ -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();
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user