diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-08-12 18:00:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-08-12 18:00:53 +0000 |
commit | ae084c2be5265a7a97e6436d4515de36ec8a5785 (patch) | |
tree | 3cdd34910267abd11b3e75ae97d84ada88a703bc | |
parent | Removing 'Sign In' infobar on the bottom of the screen (Closes: #930504). (diff) | |
download | netdata-ae084c2be5265a7a97e6436d4515de36ec8a5785.tar.xz netdata-ae084c2be5265a7a97e6436d4515de36ec8a5785.zip |
Using bash instead of sh for edit-config.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/patches/debian/0012-use-bash.patch | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
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 |