summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/debian/0012-use-bash.patch13
-rw-r--r--debian/patches/series1
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/debian/0012-use-bash.patch b/debian/patches/debian/0012-use-bash.patch
new file mode 100644
index 000000000..53b7fc5b3
--- /dev/null
+++ b/debian/patches/debian/0012-use-bash.patch
@@ -0,0 +1,13 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+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.in netdata/system/edit-config.in
+--- netdata.orig/system/edit-config.in
++++ netdata/system/edit-config.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env sh
++#!/bin/bash
+
+ [ -f /etc/profile ] && . /etc/profile
+
diff --git a/debian/patches/series b/debian/patches/series
index fdae31046..4635528e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ debian/0009-remove-googleanalytics.patch
debian/0010-remove-login.patch
upstream/0001-allow-symlinks.patch
debian/0011-remove-signin.patch
+debian/0012-use-bash.patch