Changeset 1043 in MondoRescue for trunk/mondo/src/common/libmondo-tools.c


Ignore:
Timestamp:
Jan 8, 2007, 11:31:22 PM (14 years ago)
Author:
Bruno Cornec
Message:

merge -r978:1042 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/common/libmondo-tools.c

    r1000 r1043  
    431431        mr_allocstr(bkpinfo->zip_exe, "lzop");
    432432        mr_allocstr(bkpinfo->zip_suffix, "lzo");
     433    } else if (bkpinfo->use_gzip) {
     434        strcpy(bkpinfo->zip_exe, "gzip");
     435        strcpy(bkpinfo->zip_suffix, "gz");
     436    } else if (bkpinfo->use_gzip) {
     437        strcpy(bkpinfo->zip_exe, "gzip");
     438        strcpy(bkpinfo->zip_suffix, "gz");
    433439    } else if (bkpinfo->compression_level != 0) {
    434440        mr_allocstr(bkpinfo->zip_exe, "bzip2");
     
    753759    mr_free(bkpinfo->restore_path);
    754760    bkpinfo->use_lzo = FALSE;
     761    bkpinfo->use_gzip = FALSE;
     762    bkpinfo->do_not_compress_these[0] = '\0';
    755763    bkpinfo->verify_data = FALSE;
    756764    bkpinfo->backup_data = FALSE;
     
    909917    }
    910918    retval += whine_if_not_found("bzip2");
     919    retval += whine_if_not_found("gzip");
    911920    retval += whine_if_not_found("awk");
    912921    retval += whine_if_not_found("md5sum");
Note: See TracChangeset for help on using the changeset viewer.