From cabe4437cdb5b40b55397608d0199ce31b0f3155 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sat, 20 Oct 2018 12:24:20 +0000 Subject: [PATCH] add note when installing as .zpmnew --- zpm-syncfs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zpm-syncfs.c b/zpm-syncfs.c index 218c538..94297a0 100644 --- a/zpm-syncfs.c +++ b/zpm-syncfs.c @@ -787,6 +787,10 @@ static int install_files(void *f, int ncols, char **vals, char **cols) { * we'll need to look it up. */ if (diffs & D_OHASH) { + zpm_note_add(conf->log, nitem.pkglist, + nitem.path, nitem.hash, + "default config file update installed as %s.zpmnew", nitem.dest); + if (strlen(nitem.dest) > sizeof dest - 8) { return seterror(conf,"config file path too long for install as %s.zpmnew", nitem.dest); } -- 2.40.0