From 7fc9b3b1705f104eb66510d771994fb46b01d1e6 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Mon, 21 Jun 2010 19:34:25 -0400 Subject: Fix --force-reinstall by removing special case code. Just remove the pkg first. This should fix Issue #51. git-svn-id: http://opkg.googlecode.com/svn/trunk@538 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/pkg_hash.h') diff --git a/libopkg/pkg_hash.h b/libopkg/pkg_hash.h index d847b73..0ae01e7 100644 --- a/libopkg/pkg_hash.h +++ b/libopkg/pkg_hash.h @@ -47,6 +47,7 @@ pkg_t *pkg_hash_fetch_installed_by_name(const char *pkg_name); pkg_t *pkg_hash_fetch_installed_by_name_dest(const char *pkg_name, pkg_dest_t *dest); +void file_hash_remove(const char *file_name); pkg_t *file_hash_get_file_owner(const char *file_name); void file_hash_set_file_owner(const char *file_name, pkg_t *pkg); -- cgit v0.9.1