add bash shebang (#1300)

This commit is contained in:
Brett Jia
2024-02-05 23:54:48 -05:00
committed by GitHub
parent 3c49b87b44
commit efd9afd1ea

View File

@@ -1,3 +1,4 @@
#!/bin/bash
echo 'if (!process.version.startsWith("v18")) throw new Error("Node 18 is required. Install Node Version Manager (nvm) for versioned node installations. See https://github.com/koush/scrypted/pull/498#issuecomment-1373854020")' | node
if [ "$?" != 0 ]
then