summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-12 18:00:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-12 18:00:53 +0000
commitae084c2be5265a7a97e6436d4515de36ec8a5785 (patch)
tree3cdd34910267abd11b3e75ae97d84ada88a703bc
parentRemoving 'Sign In' infobar on the bottom of the screen (Closes: #930504). (diff)
downloadnetdata-ae084c2be5265a7a97e6436d4515de36ec8a5785.tar.xz
netdata-ae084c2be5265a7a97e6436d4515de36ec8a5785.zip
Using bash instead of sh for edit-config.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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 00000000..53b7fc5b
--- /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 fdae3104..4635528e 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