mirror of
https://github.com/koush/scrypted.git
synced 2026-02-06 07:22:19 +00:00
7 lines
269 B
JavaScript
7 lines
269 B
JavaScript
#!/usr/bin/env node
|
|
// install portable python if the SCRYPTED_PYTHON_PATH variable is unset.
|
|
// this variable will be set for docker and lxc environments.
|
|
if (!process.env.SCRYPTED_PYTHON_PATH) {
|
|
require('./packaged-python').installScryptedServerRequirements();
|
|
}
|