Changeset 36949
- Timestamp:
- 01/25/16 17:06:41 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek_global.h
r36948 r36949 633 633 634 634 unlink("/tmp/parser.tar"); 635 gethttp("atemio.dyndns.tv", "/mediathek/parser .tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0);635 gethttp("atemio.dyndns.tv", "/mediathek/parser_free.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0); 636 636 637 637 cmd = ostrcat("tar -xvf /tmp/parser.tar -C ", path, 0, 0); … … 639 639 system(cmd); 640 640 free(cmd), cmd = NULL; 641 642 if(file_exist("/mnt/swapextensions/etc/.codecpack") || file_exist("/var/swap/etc/.codecpack") || file_exist("/var/etc/.codecpack")) 643 { 644 unlink("/tmp/parser.tar"); 645 gethttp("atemio.dyndns.tv", "/mediathek/parser_secret.tar", 80, "/tmp/parser.tar", HTTPAUTH, 5000, NULL, 0); 646 cmd = ostrcat("tar -xvf /tmp/parser.tar -C ", path, 0, 0); 647 printf(cmd: %s\n", cmd); 648 system(cmd); 649 free(cmd), cmd = NULL; 650 } 641 651 642 652 cmd = ostrcat("ls -1 ", path, 0, 0);
Note: See TracChangeset
for help on using the changeset viewer.