From: Nathan Wagner Date: Sat, 20 Oct 2018 12:24:20 +0000 (+0000) Subject: add note when installing as .zpmnew X-Git-Tag: v0.2.16~72 X-Git-Url: https://pd.if.org/git/?p=zpackage;a=commitdiff_plain;h=cabe4437cdb5b40b55397608d0199ce31b0f3155 add note when installing as .zpmnew --- 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); }