summaryrefslogtreecommitdiffstats
path: root/makeself/install-or-update.sh
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-07-05 22:36:08 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-07-05 22:36:08 +0300
commit47178983c048b094b747209858140666a0f9829e (patch)
tree15133889c6034f20afdfe1f3943c24a2544273ab /makeself/install-or-update.sh
parentd808708cab09a35e48fc6770a1eae03202db9385 (diff)
static installs update config files that have not been edited by users; fixes #2384
Diffstat (limited to 'makeself/install-or-update.sh')
-rwxr-xr-xmakeself/install-or-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeself/install-or-update.sh b/makeself/install-or-update.sh
index b0bf532401..da63c64b6b 100755
--- a/makeself/install-or-update.sh
+++ b/makeself/install-or-update.sh
@@ -24,7 +24,7 @@ md5sum="$(which md5sum 2>/dev/null || command -v md5sum 2>/dev/null || command -
for x in $(find etc.new -type f)
do
# find it relative filename
- f="${x/etc.new\//}"
+ f="${x/etc.new\/netdata\//}"
t="${x/etc.new\//etc\/}"
d=$(dirname "${t}")