From 94e00a584d7e2d28d23ead5c47e56bc421e2b5f9 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Mon, 23 Nov 2009 23:41:46 -0500 Subject: Remove list_pending command. Undocumented and the pending_dir was unpopulated. git-svn-id: http://opkg.googlecode.com/svn/trunk@359 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_conf.c') diff --git a/libopkg/opkg_conf.c b/libopkg/opkg_conf.c index 3b4378f..238754c 100644 --- a/libopkg/opkg_conf.c +++ b/libopkg/opkg_conf.c @@ -251,8 +251,6 @@ int opkg_conf_init(opkg_conf_t *conf, const args_t *args) conf->lists_dir = tmp; } - sprintf_alloc(&conf->pending_dir, "%s/pending", conf->lists_dir); - /* if no architectures were defined, then default all, noarch, and host architecture */ if (nv_pair_list_empty(&conf->arch_list)) { nv_pair_list_append(&conf->arch_list, "all", "1"); @@ -348,7 +346,6 @@ void opkg_conf_deinit(opkg_conf_t *conf) free(conf->tmp_dir); free(conf->lists_dir); - free(conf->pending_dir); pkg_src_list_deinit(&conf->pkg_src_list); pkg_dest_list_deinit(&conf->pkg_dest_list); -- cgit v0.9.1