diff options
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index f38d1c665c..13c97e0876 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -404,7 +404,7 @@ if [ -d "${NETDATA_PREFIX}/etc/netdata" ] do for y in "" ".old" ".orig" do - if [ -f "${NETDATA_PREFIX}/etc/netdata/${x}.conf${y}" ] + if [ -f "${NETDATA_PREFIX}/etc/netdata/${x}.conf${y}" -a ! -f "${NETDATA_PREFIX}/etc/netdata/charts.d/${x}.conf${y}" ] then run mv -f "${NETDATA_PREFIX}/etc/netdata/${x}.conf${y}" "${NETDATA_PREFIX}/etc/netdata/charts.d/${x}.conf${y}" fi |