Ignore:
Timestamp:
Jan 14, 2007, 2:24:38 AM (17 years ago)
Author:
andree
Message:

Make functions restore_a_biggiefile_from_CD() and
restore_all_tarballs_from_CD() aware of gzip'ed archives. Fixes restore
failing because no archive files are found when -G is used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-restore.c

    r998 r1053  
    15361536            !does_file_exist(slice_fname
    15371537                             (bigfileno, sliceno, ARCHIVES_PATH, "lzo"))
     1538            &&
     1539            !does_file_exist(slice_fname
     1540                             (bigfileno, sliceno, ARCHIVES_PATH, "gz"))
    15381541            &&
    15391542            !does_file_exist(slice_fname
     
    25722575        sprintf(tarball_fname, MNT_CDROM "/archives/%ld.afio.bz2",
    25732576                current_tarball_number);
     2577        sprintf(tarball_fname, MNT_CDROM "/archives/%ld.afio.gz",
     2578                current_tarball_number);
    25742579        if (!does_file_exist(tarball_fname)) {
    25752580            sprintf(tarball_fname, MNT_CDROM "/archives/%ld.afio.lzo",
Note: See TracChangeset for help on using the changeset viewer.