Changeset 43508 for titan/titan
- Timestamp:
- 02/15/19 19:12:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/system_update.h
r43506 r43508 254 254 cmd = ostrcat(cmd, " release atemio.dyndns.tv", 1, 0); 255 255 #endif 256 #ifdef OEBUILD 257 if(file_exist("/media/hdd/.update")) 258 { 259 if(!file_exist("/media/hdd/.update/logs")) 260 mkdir("/media/hdd/.update/logs", 777); 261 262 if(file_exist("/media/hdd/.update/logs")) 263 cmd = ostrcat(cmd, " > /media/hdd/.update/logs/update_debug.log 2>&1", 1, 0); 264 } 265 else if(file_exist("/var/backup/.update")) 266 { 267 if(!file_exist("/var/backup/.update/logs")) 268 mkdir("/var/backup/.update/logs", 777); 269 270 if(file_exist("/var/backup/.update/logs")) 271 cmd = ostrcat(cmd, " > /var/backup/.update/logs/update_debug.log 2>&1", 1, 0); 272 } 273 else if(file_exist("/var/swap/.update")) 274 { 275 if(!file_exist("/var/swap/.update/logs")) 276 mkdir("/var/swap/.update/logs", 777); 277 278 if(file_exist("/var/swap/.update/logs")) 279 cmd = ostrcat(cmd, " > /var/swap/.update/logs/update_debug.log 2>&1", 1, 0); 280 } 281 282 #else 256 283 if(file_exist("/var/swap")) 257 284 { … … 259 286 mkdir("/var/swap/logs", 777); 260 287 261 if(file_exist("/etc/. test") && file_exist("/etc/.beta") && file_exist("/var/swap/logs"))288 if(file_exist("/etc/.beta") && file_exist("/var/swap/logs")) 262 289 cmd = ostrcat(cmd, " > /var/swap/logs/update_debug.log 2>&1", 1, 0); 263 290 } … … 270 297 cmd = ostrcat(cmd, " > /mnt/logs/update_debug.log 2>&1", 1, 0); 271 298 } 272 299 #endif 273 300 if(ostrstr(filelist->select->text, "_FULL_") != NULL) 274 301 msgtxt = ostrcat(msgtxt, _("starting Full Update ?"), 1, 0);
Note: See TracChangeset
for help on using the changeset viewer.