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