Changeset 1437 in MondoRescue for branches/2.2.4/mondo/src/mondoarchive/main.c


Ignore:
Timestamp:
May 10, 2007, 11:41:11 PM (17 years ago)
Author:
andree
Message:

New define 'MINDI_CACHE' set to '/var/cache/mindi' rather than
hardcoding this in the code. Makes it easy to change the location. Also
adjusted some of the messages related to boot floppies or CDs.

(Also added missing debug level to log_debug() call.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mondo/src/mondoarchive/main.c

    r1383 r1437  
    501501    }
    502502
    503     if (does_file_exist("/root/images/mindi/mondorescue.iso")) {
     503    if (does_file_exist(MINDI_CACHE"/mondorescue.iso")) {
    504504        log_to_screen
    505             ("/root/images/mindi/mondorescue.iso, a boot/utility CD, is available if you want it.");
     505            (MINDI_CACHE"/mondorescue.iso, a boot/utility CD, is available if you want it.");
    506506    }
    507507
Note: See TracChangeset for help on using the changeset viewer.