-#include <opkg.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <libgen.h>
+#include <opkg.h>
+
+int opkg_state_changed;
pkg_t *find_pkg = NULL;
}
setenv("OFFLINE_ROOT", "/tmp", 0);
-
+
if (opkg_new ()) {
printf("opkg_new() failed. This sucks.\n");
print_error_list();
}
}
break;
-
+
case 'r':
if (argv[1][1] == 'e')
{