Changes in uspace/app/sysinst/sysinst.c [5df2570:2c21595] in mainline
- File:
-
- 1 edited
-
uspace/app/sysinst/sysinst.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/sysinst.c
r5df2570 r2c21595 423 423 { 424 424 sysinst_t *sysinst = (sysinst_t *)arg; 425 425 426 (void)sysinst; 426 427 (void)exists->fname; 427 // XXX Do not overwrite configuration files. 428 return fmgt_exr_overwrite; 428 429 sysinst_action(sysinst, exists->fname); 430 431 /* 432 * Before starting fmgt operation, the caller would specify 433 * whether to overwrite existing files. 434 */ 435 if (sysinst->overwrite) 436 return fmgt_exr_overwrite; 437 else 438 return fmgt_exr_skip; 429 439 } 430 440 … … 841 851 goto error; 842 852 853 /* Do not overwrite configuration files. */ 854 sysinst->overwrite = false; 843 855 rc = fmgt_copy(sysinst->fmgt, flist, CFG_FILES_DEST); 844 856 if (rc != EOK) { … … 879 891 goto error; 880 892 893 /* Overwrite boot files with new ones during upgrade. */ 894 sysinst->overwrite = true; 881 895 rc = fmgt_copy(sysinst->fmgt, flist, MOUNT_POINT); 882 896 if (rc != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.
