diff options
Diffstat (limited to 'debian/patches/0004-debian-use-sh.patch')
-rw-r--r-- | debian/patches/0004-debian-use-sh.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/0004-debian-use-sh.patch b/debian/patches/0004-debian-use-sh.patch new file mode 100644 index 000000000..6c8e93bfb --- /dev/null +++ b/debian/patches/0004-debian-use-sh.patch @@ -0,0 +1,12 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Fix shebang hack to not depend on bash. + +diff -Naurp netdata.orig/collectors/node.d.plugin/node.d.plugin.in netdata/collectors/node.d.plugin/node.d.plugin.in +--- netdata.orig/collectors/node.d.plugin/node.d.plugin.in ++++ netdata/collectors/node.d.plugin/node.d.plugin.in +@@ -1,4 +1,4 @@ +-#!/usr/bin/env bash ++#!/bin/sh + ':' //; exec "$(command -v nodejs || command -v node || echo "ERROR node IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@" + + // shebang hack from: |