From 8509c296607dcc30c0fe33d46d13dd73d8b72920 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 Feb 2023 17:13:54 +0100 Subject: Refreshing use-bash.patch. Signed-off-by: Daniel Baumann --- debian/patches/debian/0004-use-bash.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/patches/debian/0004-use-bash.patch (limited to 'debian/patches/debian/0004-use-bash.patch') diff --git a/debian/patches/debian/0004-use-bash.patch b/debian/patches/debian/0004-use-bash.patch new file mode 100644 index 000000000..182aa2131 --- /dev/null +++ b/debian/patches/debian/0004-use-bash.patch @@ -0,0 +1,13 @@ +Author: Daniel Baumann +Description: Using bash instead of sh for edit-config. + It reads /etc/profile which often contains bash specific configuration. + +diff -Naurp netdata.orig/system/edit-config netdata/system/edit-config +--- netdata.orig/system/edit-config ++++ netdata/system/edit-config +@@ -1,4 +1,4 @@ +-#!/usr/bin/env sh ++#!/bin/bash + + # shellcheck disable=SC1091 + [ -f /etc/profile ] && . /etc/profile -- cgit v1.2.3