@scrypted/server 0.94.38 → 0.94.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/postinstall +5 -1
  2. package/package.json +1 -1
package/bin/postinstall CHANGED
@@ -1,2 +1,6 @@
1
1
  #!/usr/bin/env node
2
- require('./packaged-python').installScryptedServerRequirements();
2
+ // install portable python if the SCRYPTED_PYTHON_PATH variable is unset.
3
+ // this variable will be unset for docker and lxc environments.
4
+ if (!process.env.SCRYPTED_PYTHON_PATH) {
5
+ require('./packaged-python').installScryptedServerRequirements();
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrypted/server",
3
- "version": "0.94.38",
3
+ "version": "0.94.39",
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "@mapbox/node-pre-gyp": "^1.0.11",