Implement support to "preserve" existent on-disk files.
See NEWS for more information. Fix #51
This commit is contained in:
@ -251,7 +251,9 @@ main(int argc, char **argv)
|
||||
strncpy(xh.rootdir, rootdir, sizeof(xh.rootdir));
|
||||
if (cachedir)
|
||||
strncpy(xh.cachedir, cachedir, sizeof(xh.cachedir));
|
||||
xh.conffile = conffile;
|
||||
if (conffile)
|
||||
strncpy(xh.conffile, conffile, sizeof(xh.conffile));
|
||||
|
||||
xh.flags = flags;
|
||||
|
||||
if ((rv = xbps_init(&xh)) != 0) {
|
||||
|
Reference in New Issue
Block a user