Changeset 998 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-restore.c
- Timestamp:
- Dec 7, 2006, 2:01:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-restore.c
r952 r998 1572 1572 if (does_file_exist 1573 1573 (slice_fname 1574 (bigfileno, sliceno, ARCHIVES_PATH, "gz"))) { 1575 strcpy(bzip2_command, "gzip"); 1576 strcpy(suffix, "gz"); 1577 } else 1578 if (does_file_exist 1579 (slice_fname 1574 1580 (bigfileno, sliceno, ARCHIVES_PATH, "bz2"))) { 1575 1581 strcpy(bzip2_command, "bzip2"); … … 2037 2043 if (strstr(tarball_fname, ".bz2")) { 2038 2044 strcpy(executable, "bzip2"); 2045 } else if (strstr(tarball_fname, ".gz")) { 2046 strcpy(executable, "gzip"); 2039 2047 } else if (strstr(tarball_fname, ".lzo")) { 2040 2048 strcpy(executable, "lzop");
Note:
See TracChangeset
for help on using the changeset viewer.