Changeset 4234
- Timestamp:
- 03/20/08 13:07:09 (5 years ago)
- Location:
- trunk/src/target/opkg/libopkg
- Files:
-
- 3 edited
-
opkg_configure.c (modified) (1 diff)
-
opkg_download.c (modified) (1 diff)
-
opkg_remove.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/opkg/libopkg/opkg_configure.c
r4204 r4234 38 38 err = pkg_run_script(conf, pkg, "postinst", "configure"); 39 39 if (err) { 40 printf("ERROR: %s.postinst returned %d\n", pkg->name, err);40 opkg_message(conf, OPKG_ERROR, "ERROR: %s.postinst returned %d\n", pkg->name, err); 41 41 return err; 42 42 } -
trunk/src/target/opkg/libopkg/opkg_download.c
r4210 r4234 183 183 return -1; 184 184 185 printf ("\n"); 185 /* if no custom progress handler was set, we need to clear the default progress bar */ 186 if (!opkg_cb_download_progress) 187 printf ("\n"); 186 188 187 189 err = file_move(tmp_file_location, dest_file_name); -
trunk/src/target/opkg/libopkg/opkg_remove.c
r4097 r4234 205 205 if (deps == 0) 206 206 { 207 printf ("%s was autoinstalled but is now orphaned\n", buffer); 207 opkg_message (conf, OPKG_INFO, 208 "%s was autoinstalled but is now orphaned\n", buffer); 208 209 opkg_remove_pkg(conf, p,0); 209 210 } 210 211 else 211 printf ("%s was autoinstalled and is still required by %d installed packages\n", buffer, deps); 212 opkg_message (conf, OPKG_INFO, "%s was autoinstalled and is still required by " 213 "%d installed packages\n", buffer, deps); 212 214 } 213 215 free (buffer); … … 273 275 274 276 if ( message==0 ){ 275 printf("Removing package %s from %s...\n", pkg->name, pkg->dest->name); 277 opkg_message (conf, OPKG_NOTICE, 278 "Removing package %s from %s...\n", pkg->name, pkg->dest->name); 276 279 fflush(stdout); 277 280 } … … 350 353 space. */ 351 354 if (conffile_has_been_modified(conf, conffile)) { 352 printf(" not deleting modified conffile %s\n", file_name); 355 opkg_message (conf, OPKG_NOTICE, 356 " not deleting modified conffile %s\n", file_name); 353 357 fflush(stdout); 354 358 continue;
Note: See TracChangeset
for help on using the changeset viewer.
