Package: boot-floppies
Version: N/A
Severity: minor

When fetching files from the network, the messages output to the
logfile are confusing.  Before downloading each file, it states:

retrieving %s from %s

After downloading, but before installing, it logs

sucessfully installed %s

It prints no message after installing the file.  The following
patch makes it log

successfully retrieved %s

after downloading,

installing %s

before installing, and

successfully installed %s

after installation.

Matt

--- net-fetch.c.orig    Tue Apr  3 12:29:10 2001
+++ net-fetch.c Tue Apr  3 12:30:21 2001
@@ -574,7 +574,7 @@
       return 1;
     }
 
-    INFOMSG("sucessfully installed %s", filename);
+    INFOMSG("successfully retrieved %s", filename);
   }
 
   /*
@@ -586,10 +586,14 @@
 
     snprintf(filename, sizeof filename - 1, "/tmp/%s", files_to_fetch[i].local);
 
+    INFOMSG("installing %s", filename);
+
     if (files_to_fetch[i].install_fn(filename) != 0) {
       vaproblemBox(_("Problem"), _("Installation of the file '%s' failed."), 
filename);
       return 1;
     }
+
+    INFOMSG("successfully installed %s", filename);
   }
 
   return 0;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to