Implement support to "preserve" existent on-disk files.
See NEWS for more information. Fix #51
This commit is contained in:
@ -137,7 +137,8 @@ main(int argc, char **argv)
|
||||
memset(&xh, 0, sizeof(xh));
|
||||
if (rootdir)
|
||||
strncpy(xh.rootdir, rootdir, sizeof(xh.rootdir));
|
||||
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