forked from Lainports/opnsense-ports
11 lines
473 B
Python
11 lines
473 B
Python
--- third_party/node/node.py.orig 2022-02-07 13:39:41 UTC
|
|
+++ third_party/node/node.py
|
|
@@ -16,6 +16,8 @@ def GetBinaryPath():
|
|
return os_path.join(os_path.dirname(__file__), *{
|
|
'Darwin': ('mac', darwin_name, 'bin', 'node'),
|
|
'Linux': ('linux', 'node-linux-x64', 'bin', 'node'),
|
|
+ 'OpenBSD': ('openbsd', 'node-openbsd', 'bin', 'node'),
|
|
+ 'FreeBSD': ('freebsd', 'node-freebsd', 'bin', 'node'),
|
|
'Windows': ('win', 'node.exe'),
|
|
}[platform.system()])
|
|
|