Ignore:
Timestamp:
Dec 7, 2006, 2:01:34 AM (14 years ago)
Author:
Bruno Cornec
Message:

Attempt to solve #113

File:
1 edited

Legend:

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

    r911 r998  
    649649        strcpy(bkpinfo->zip_exe, "lzop");
    650650        strcpy(bkpinfo->zip_suffix, "lzo");
     651    } else if (bkpinfo->use_gzip) {
     652        strcpy(bkpinfo->zip_exe, "gzip");
     653        strcpy(bkpinfo->zip_suffix, "gz");
    651654    } else if (bkpinfo->compression_level != 0) {
    652655        strcpy(bkpinfo->zip_exe, "bzip2");
     
    967970    bkpinfo->restore_path[0] = '\0';
    968971    bkpinfo->use_lzo = FALSE;
     972    bkpinfo->use_gzip = FALSE;
    969973    bkpinfo->do_not_compress_these[0] = '\0';
    970974    bkpinfo->verify_data = FALSE;
     
    11221126    }
    11231127    retval += whine_if_not_found("bzip2");
     1128    retval += whine_if_not_found("gzip");
    11241129    retval += whine_if_not_found("awk");
    11251130    retval += whine_if_not_found("md5sum");
Note: See TracChangeset for help on using the changeset viewer.