opkg: adding cache support
[oweals/opkg-lede.git] / libopkg / opkg_configure.c
index 94d37c28a320d0d026d74511a6967a5f7a6cc293..bc8101542527cced24dfcc17603d2b07924f4c4d 100644 (file)
@@ -1,4 +1,4 @@
-/* opkg_configure.c - the itsy package management system
+/* opkg_configure.c - the opkg package management system
 
    Carl D. Worth
 
@@ -15,7 +15,7 @@
    General Public License for more details.
 */
 
-#include "opkg.h"
+#include "includes.h"
 #include "sprintf_alloc.h"
 #include "opkg_configure.h"
 #include "opkg_state.h"
@@ -37,7 +37,7 @@ int opkg_configure(opkg_conf_t *conf, pkg_t *pkg)
 
     err = pkg_run_script(conf, pkg, "postinst", "configure");
     if (err) {
-       printf("ERROR: %s.postinst returned %d\n", pkg->name, err);
+       opkg_message(conf, OPKG_ERROR, "ERROR: %s.postinst returned %d\n", pkg->name, err);
        return err;
     }