]> pd.if.org Git - zpackage/blobdiff - zpm-syncfs.c
add note when installing as .zpmnew
[zpackage] / zpm-syncfs.c
index 218c53812ae22756019f5dfe251ddb3ab438a093..94297a044a02e0bec4855a0268d2542897b6fb6d 100644 (file)
@@ -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);
                                }