From efd9afd1ea89b9eff1665a3bc2e4f382acae493c Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Mon, 5 Feb 2024 23:54:48 -0500 Subject: [PATCH] add bash shebang (#1300) --- npm-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/npm-install.sh b/npm-install.sh index beb62dd0c..c6f150d12 100755 --- a/npm-install.sh +++ b/npm-install.sh @@ -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