Ignore:
Timestamp:
May 13, 2006, 6:39:55 PM (18 years ago)
Author:
bcornec
Message:

Begining of modifications => DOS NOT WORK FOR NOW.
This is done to be merged in trunk. stable will later point back to current 2.0.8 content

Use of mindi conf file in mindi + /var/cache/mindi as a default place
Use of mondo conf file in mondo + separation of messages.
Ultimate goal is to have a cleaner design of files vs functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/mondoarchive/main.c

    r497 r538  
    247247{
    248248    struct s_bkpinfo *bkpinfo;
     249    struct s_mrconf *mrconf;
    249250    char *tmp;
    250251    int res, retval;
     
    275276    malloc_string(say_at_end);
    276277
     278    /* Initialize Configuration Structure */
     279    mrarchive_init_conf(mrconf);
     280
    277281    res = 0;
    278282    retval = 0;
     
    457461      finish(0);
    458462*/
    459         res = backup_data(bkpinfo);
     463        res = backup_data(bkpinfo, mrconf);
    460464        retval += res;
    461465        if (res) {
     
    497501    }
    498502
    499     if (does_file_exist("/root/images/mindi/mondorescue.iso")) {
     503    if (does_file_exist("/var/cache/mindi/mondorescue.iso")) {
    500504        log_to_screen
    501             (_("/root/images/mindi/mondorescue.iso, a boot/utility CD, is available if you want it."));
     505            (_("/var/cache/mindi/mondorescue.iso, a boot/utility CD, is available if you want it."));
    502506    }
    503507
Note: See TracChangeset for help on using the changeset viewer.