Ignore:
Timestamp:
Jan 9, 2007, 12:54:21 AM (14 years ago)
Author:
Bruno Cornec
Message:

We now use consistently /var/cache/mindi everywhere

File:
1 edited

Legend:

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

    r998 r1044  
    10461046    if (!res) {
    10471047        log_to_screen("Boot+data disks were created OK");
    1048         sprintf(command, "mkdir -p /root/images/mindi/");
     1048        sprintf(command, "mkdir -p /var/cache/mindi/");
    10491049        log_msg(2, command);
    10501050        run_program_and_log_output(command, FALSE);
    10511051        sprintf(command,
    1052                 "cp -f %s/images/mindi.iso /root/images/mindi/mondorescue.iso",
     1052                "cp -f %s/images/mindi.iso /var/cache/mindi/mondorescue.iso",
    10531053                bkpinfo->scratchdir);
    10541054        log_msg(2, command);
     
    27712771 * @c backup_media_type field is used in this function.
    27722772 * @param imagesdir The directory containing the floppy images (usually
    2773  * /root/images/mindi).
     2773 * /var/cache/mindi).
    27742774 *
    27752775 * @return The number of errors encountered (0 for success)
     
    29502950    if (!bkpinfo->nonbootable_backup) {
    29512951#ifdef __FreeBSD__
    2952         if (!does_file_exist("/root/images/mindi/mindi-kern.1722.img"))
     2952        if (!does_file_exist("/var/cache/mindi/mindi-kern.1722.img"))
    29532953#else
    2954         if (!does_file_exist("/root/images/mindi/mindi-bootroot.1722.img")
    2955             && !does_file_exist("/root/images/mindi/mindi-boot.1440.img"))
     2954        if (!does_file_exist("/var/cache/mindi/mindi-bootroot.1722.img")
     2955            && !does_file_exist("/var/cache/mindi/mindi-boot.1440.img"))
    29562956#endif
    29572957        {
    29582958            mvaddstr_and_log_it(g_currentY++, 74, "No Imgs");
    2959             if (does_file_exist("/root/images/mindi/mondorescue.iso")) {
     2959            if (does_file_exist("/var/cache/mindi/mondorescue.iso")) {
    29602960                popup_and_OK
    2961                     ("Boot+data floppy creation failed. However, FYI, you may burn /root/images/mindi/mondorescue.iso to a CD and boot from that instead if you wish.");
     2961                    ("Boot+data floppy creation failed. However, FYI, you may burn /var/cache/mindi/mondorescue.iso to a CD and boot from that instead if you wish.");
    29622962                res++;
    29632963            }
    29642964        } else {
    2965             offer_to_write_floppies(bkpinfo, "/root/images/mindi");
     2965            offer_to_write_floppies(bkpinfo, "/var/cache/mindi");
    29662966            mvaddstr_and_log_it(g_currentY++, 74, "Done.");
    29672967        }
Note: See TracChangeset for help on using the changeset viewer.