diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-06-11 22:38:46 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-06-11 22:38:46 +0300 |
commit | 3e440ebd457612e88cd8eea8bf7749e33076765a (patch) | |
tree | 2d7f3132946de42e0893e2ce0dda443c9085d783 | |
parent | ebfe6258b5eb2d3810c4cd20657431c21a3d37b8 (diff) |
cleanup backup of the users configuration
-rwxr-xr-x | netdata-installer.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index 5cec8f3aad..4289840de0 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -359,6 +359,7 @@ do if [ -f "${NETDATA_PREFIX}/etc/netdata/${x}.installer_backup.${installer_backup_suffix}" ] then cp -p "${NETDATA_PREFIX}/etc/netdata/${x}.installer_backup.${installer_backup_suffix}" "${NETDATA_PREFIX}/etc/netdata/${x}" + rm -f "${NETDATA_PREFIX}/etc/netdata/${x}.installer_backup.${installer_backup_suffix}" fi done |