Changeset 2751 in MondoRescue


Ignore:
Timestamp:
Mar 25, 2011, 7:48:33 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Accept to work with either wodim or cdreord and genisoimage or mkisofs
File:
1 edited

Legend:

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

    r2697 r2751  
    921921#endif
    922922    retval += whine_if_not_found(MKE2FS_OR_NEWFS);
    923     retval += whine_if_not_found("mkisofs");
    924     if (system("which dvdrecord > /dev/null 2> /dev/null")) {
     923    if (system("which genisoimage > /dev/null 2> /dev/null")) {
     924        retval += whine_if_not_found("mkisofs");
     925    }
     926    if (system("which wodim > /dev/null 2> /dev/null")) {
    925927        retval += whine_if_not_found("cdrecord");
    926928    }
Note: See TracChangeset for help on using the changeset viewer.