Changeset 23925
- Timestamp:
- 09/27/13 16:00:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/system_update.h
r23922 r23925 46 46 skinname = "systemupdate_flash_tmp_menu"; 47 47 filemask = ostrcat(filemask, "*.img", 1, 0); 48 filepath = ostrcat(filepath, "/tmp", 1, 0); 48 if(file_exist("/var/backup")) 49 filepath = ostrcat(filepath, "/var/backup", 1, 0); 50 else 51 filepath = ostrcat(filepath, "/tmp", 1, 0); 49 52 type = ostrcat(type, "tmp", 1, 0); 50 53 } … … 69 72 skinname = "systemupdate_usb_tmp_menu"; 70 73 filemask = ostrcat(filemask, "*.tar.gz", 1, 0); 71 filepath = ostrcat(filepath, "/tmp", 1, 0); 74 if(file_exist("/var/backup")) 75 filepath = ostrcat(filepath, "/var/backup", 1, 0); 76 else 77 filepath = ostrcat(filepath, "/tmp", 1, 0); 72 78 type = ostrcat(type, "tmp", 1, 0); 73 79 }
Note: See TracChangeset
for help on using the changeset viewer.