summaryrefslogtreecommitdiffstats
path: root/libopkg/pkg_hash.h
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-06-21 19:34:25 (EDT)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-06-21 19:34:25 (EDT)
commit7fc9b3b1705f104eb66510d771994fb46b01d1e6 (patch)
treebf4ca40de2c2f733d6afd6c89542f04b1fc51632 /libopkg/pkg_hash.h
parent3e60267249bb3d164fa94a29770c2b923626f823 (diff)
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
Diffstat (limited to 'libopkg/pkg_hash.h')
-rw-r--r--libopkg/pkg_hash.h1
1 files changed, 1 insertions, 0 deletions
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);